Conta Gradle Plugins
Convenience plugins for Gradle, by Conta.
These plugins started out in the buildSrc directories of
internal projects. Why not share them?
Releasing
Plugins are automatically published to the Gradle Plugin Portal when a version tag is pushed.
Creating a release
First, ensure the build is successful:
./gradlew build
Then create and push the version tag:
./gradlew reckonTagCreate -Preckon.scope=minor -Preckon.stage=final
git push origin <tag>
Pushing the tag triggers the CI publish pipeline.
CI setup (maintainers)
The following protected, masked CI/CD variables must be configured in GitLab Settings > CI/CD > Variables:
-
GRADLE_PUBLISH_KEY— Gradle Plugin Portal API key -
GRADLE_PUBLISH_SECRET— Gradle Plugin Portal API secret
Tags matching ..* must be protected in Settings > Repository > Protected Tags.