Artefacts:
This is the fork of unbroken-dome/gradle-plugin-utils to support newer Gradle.
The project has extensions to simplify Gradle plugins build and test.
dependencies {
implementation("io.github.build-extensions-oss", "gradle-plugin-utils", "latest")
implementation("io.github.build-extensions-oss", "gradle-plugin-test-utils", "latest")
implementation("io.github.build-extensions-oss", "gradle-plugin-integration-test-utils", "latest")
}In short - publishing doesn't work well, because of breaking changes in Maven Central, plus Gradle Plugins incompatibilities.
At the time of writing Javadoc isn't published properly.
To run publishing tasks, the following needs to be done:
- File
~/.gradle/gradle.propertiesneeds to be updated to:
mavenCentralUsername=???
mavenCentralPassword=???- And then the following task will work:
./gradlew publishToMavenCentral --stacktrace
Add lines like below into ~/.gradle/gradle.properties:
signing.keyId=F27AB2F4
signing.password=
# can be exported via gpg --export-secret-keys -o xxx.gpg
# see https://stackoverflow.com/a/39573795/185498
signing.secretKeyRingFile=xxx.gpg