This plugin publishes the default software component to github packages.
Current Version
buildscript {
repositories {
mavenCentral()
maven {
url uri("https://maven.pkg.github.com/trevorism/gradle-release-plugin")
credentials {
username = findProperty("github.user") ?: System.getenv("GITHUB_ACTOR")
password = findProperty("github.token") ?: System.getenv("GITHUB_TOKEN")
}
}
}
dependencies {
classpath 'com.trevorism:gradle-release-plugin:0.7.0'
}
}
apply plugin: "com.trevorism.gradle.release"
The github username and PAT should be supplied as credentials.
About me -- https://www.trevorism.com