Skip to content

Commit

Permalink
Update signing
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedRejeb committed Sep 7, 2023
1 parent a6036c5 commit 53bf6e6
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 53bf6e6

Please sign in to comment.