Skip to content

Commit

Permalink
Slight change of credential config to indicate use of sonatype token
Browse files Browse the repository at this point in the history
  • Loading branch information
tung-vu-td committed Jun 21, 2024
1 parent 0d8ba6f commit cda0233
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/gradle-mvn-publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ project.afterEvaluate {
def snapshotsRepoUrl = 'https://oss.sonatype.org/content/repositories/snapshots'
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username findProperty('sonatypeUsername')
password findProperty('sonatypePassword')
username findProperty('sonatypeTokenUsername')
password findProperty('sonatypeTokenPassword')
}
}
}
Expand Down

0 comments on commit cda0233

Please sign in to comment.