Skip to content

Commit

Permalink
Merge pull request #113 from MohamedRejeb/1.x
Browse files Browse the repository at this point in the history
Update signing
  • Loading branch information
MohamedRejeb authored Sep 7, 2023
2 parents 72ab80d + 53bf6e6 commit 0cc3aa6
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions convention-plugins/src/main/kotlin/root.publication.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ nexusPublishing {
// Configure maven central repository
// https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-ossrh
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
stagingProfileId.set(System.getenv("OSSRH_STAGING_PROFILE_ID"))
println("OSSRH_USERNAME")
println(System.getenv("OSSRH_USERNAME"))
username.set(System.getenv("OSSRH_USERNAME"))
password.set(System.getenv("OSSRH_PASSWORD"))
}
sonatype()
// sonatype {
// nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
// snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
// stagingProfileId.set(System.getenv("OSSRH_STAGING_PROFILE_ID"))
// println("OSSRH_USERNAME")
// println(System.getenv("OSSRH_USERNAME"))
// username.set(System.getenv("OSSRH_USERNAME"))
// password.set(System.getenv("OSSRH_PASSWORD"))
// }
}
}

0 comments on commit 0cc3aa6

Please sign in to comment.