Skip to content

Commit

Permalink
Update publish-conventions.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
huanmeng-qwq committed Jan 10, 2025
1 parent e8d1489 commit e49ffdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/publish-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ tasks.sonatypeCentralUpload {
val privateKeyPwd = System.getenv("CENTRAL_PRIVATE_KEY_PWD") ?: findProperty("CENTRAL_PRIVATE_KEY_PWD")?.toString()
val publicKey = System.getenv("CENTRAL_PUBLIC_KEY") ?: findProperty("CENTRAL_PUBLIC_KEY")?.toString()
dependsOn(tasks.build, tasks.generatePomFileForMavenPublication, cleanUpload)
// this.username = centralUsername
// this.password = centralPassword
this.username = centralUsername
this.password = centralPassword
this.publishingType = "AUTOMATIC" // MANUAL
this.signingKey = privateKey
this.signingKeyPassphrase = privateKeyPwd
Expand Down

0 comments on commit e49ffdb

Please sign in to comment.