Skip to content

Commit

Permalink
Fix authentication with sonatype.
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlipp committed Jun 22, 2024
1 parent 229d77a commit e9baf40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ plugins {
nexusPublishing {
repositories {
sonatype {
username = project.properties['sonatypeUsername'] ?: "nouser"
password = project.properties['sonatypePassword'] ?: "nopass"
username = project.properties['sonatypeTokenKey'] ?: "nouser"
password = project.properties['sonatypeTokenSecret'] ?: "nopass"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions gradle/publishing.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ publishing {
name "snapshot"
url "https://oss.sonatype.org/content/repositories/snapshots/"
credentials {
username project.properties['sonatypeUsername'] ?: "nouser"
password project.properties['sonatypePassword'] ?: "nopass"
username project.properties['sonatypeTokenKey'] ?: "nouser"
password project.properties['sonatypeTokenSecret'] ?: "nopass"
}
}
maven {
name "release"
url "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username project.properties['sonatypeUsername'] ?: "nouser"
password project.properties['sonatypePassword'] ?: "nopass"
username project.properties['sonatypeTokenKey'] ?: "nouser"
password project.properties['sonatypeTokenSecret'] ?: "nopass"
}
}
}
Expand Down

0 comments on commit e9baf40

Please sign in to comment.