Skip to content

Commit

Permalink
Removed if clause that was preventing maven central repo from being i…
Browse files Browse the repository at this point in the history
…dentified.
  • Loading branch information
jverbus committed Sep 3, 2024
1 parent e07fcb1 commit 4036635
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions gradle/release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@ tasks.named("githubRelease") {
apply plugin: "io.github.gradle-nexus.publish-plugin" // https://github.com/gradle-nexus/publish-plugin/
nexusPublishing {
repositories {
if (System.getenv("SONATYPE_TOKEN_PWD")) {
sonatype {
username = System.getenv("SONATYPE_TOKEN_USER")
password = System.getenv("SONATYPE_TOKEN_PWD")
}
sonatype {
username = System.getenv("SONATYPE_TOKEN_USER")
password = System.getenv("SONATYPE_TOKEN_PWD")
}
}

Expand Down

0 comments on commit 4036635

Please sign in to comment.