Skip to content

build-extensions-oss/gradle-plugin-utils

 
 

Repository files navigation

codecov

Artefacts:

  • gradle-plugin-utils: gradle-plugin-utils - Maven Central Version
  • gradle-plugin-test-utils: gradle-plugin-test-utils - Maven Central Version
  • gradle-plugin-integration-test-utils: gradle-plugin-integration-test-utils - Maven Central Version

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.

How to use

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")
}

Publishing

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:

  1. File ~/.gradle/gradle.properties needs to be updated to:
mavenCentralUsername=???
mavenCentralPassword=???
  1. And then the following task will work: ./gradlew publishToMavenCentral --stacktrace

Signing

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

About

A collection of utilities for Gradle plugins.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 100.0%