Skip to content

Commit

Permalink
Merge pull request #10 from omegat-org/topic/miurahr/gradle/bump-8.5
Browse files Browse the repository at this point in the history
chore: Bump Gradle 8.5
  • Loading branch information
miurahr authored Mar 16, 2024
2 parents 443cc85 + 2bf8891 commit fb7f398
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,15 @@ signing {
}
}

def sonatypeUsername = project.hasProperty("sonatypeUsername")? project.property('sonatypeUsername') : System.getenv('SONATYPE_USER')
def sonatypePassword = project.hasProperty("sonatypePassword")? project.property('sonatypePassword') : System.getenv('SONATYPE_PASS')
def sonatypeUsername = project.hasProperty("sonatypeUsername")? project.property('sonatypeUsername').toString() : System.getenv('SONATYPE_USER')
def sonatypePassword = project.hasProperty("sonatypePassword")? project.property('sonatypePassword').toString() : System.getenv('SONATYPE_PASS')
if (sonatypeUsername != null && sonatypePassword != null) {
nexusPublishing {
repositories{
sonatype {
nexusUrl.set(new URI("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(new URI("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
username.set(sonatypeUsername)
password.set(sonatypePassword)
}
nexusPublishing.repositories{
sonatype {
nexusUrl.set(new URI("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(new URI("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
username.set(sonatypeUsername)
password.set(sonatypePassword)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit fb7f398

Please sign in to comment.