File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 2020 21
2121 - name : Publish to Maven Central
2222 env :
23- ORG_GRADLE_PROJECT_signKey : ${{ secrets.SIGN_KEY }}
24- ORG_GRADLE_PROJECT_signKeyPass : ${{ secrets.SIGN_KEY_PASS }}
23+ ORG_GRADLE_PROJECT_signingKey : ${{ secrets.SIGNING_KEY }}
24+ ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.SIGNING_PASSWORD }}
2525 ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
2626 ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
2727 run : ./gradlew publishToMavenCentral
Original file line number Diff line number Diff line change 11plugins {
2- id( " java-library" )
3- id( " maven-publish" )
4- id( " signing" )
5- id( " pmd" )
2+ ` java- library`
3+ ` maven- publish`
4+ signing
5+ pmd
66 alias(libs.plugins.bnd)
77 alias(libs.plugins.javadocLinks)
88 alias(libs.plugins.license)
@@ -285,9 +285,9 @@ allprojects {
285285 plugins.withId(" maven-publish" ) {
286286 plugins.apply (" signing" )
287287 signing {
288- val signKey : String? by project
289- val signKeyPass : String? by project
290- useInMemoryPgpKeys(signKey, signKeyPass )
288+ val signingKey : String? by project
289+ val signingPassword : String? by project
290+ useInMemoryPgpKeys(signingKey, signingPassword )
291291 publishing.publications.configureEach {
292292 sign(this )
293293 }
You can’t perform that action at this time.
0 commit comments