From 2bf8891387afdb3922176a1c35ebfab9759b1ff0 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Sat, 16 Mar 2024 17:09:10 +0900 Subject: [PATCH] chore: Bump Gradle 8.5 --- build.gradle | 18 ++++++++---------- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/build.gradle b/build.gradle index d7a5fea..e6863d4 100644 --- a/build.gradle +++ b/build.gradle @@ -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) } } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ae04661..a595206 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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