diff --git a/android-interop-testing/build.gradle b/android-interop-testing/build.gradle index 4f775d734e..72b6ac0a30 100644 --- a/android-interop-testing/build.gradle +++ b/android-interop-testing/build.gradle @@ -10,7 +10,7 @@ repositories { } android { - namespace 'io.grpc.android.integrationtest' + namespace = 'io.grpc.android.integrationtest' sourceSets { main { java { @@ -41,7 +41,7 @@ android { versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - multiDexEnabled true + multiDexEnabled = true } buildTypes { debug { minifyEnabled false } diff --git a/android/build.gradle b/android/build.gradle index 3c717da18a..723be88298 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -7,7 +7,7 @@ plugins { description = 'gRPC: Android' android { - namespace 'io.grpc.android' + namespace = 'io.grpc.android' compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 @@ -20,7 +20,7 @@ android { versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - lintOptions { abortOnError true } + lintOptions { abortOnError = true } publishing { singleVariant('release') { withSourcesJar() diff --git a/binder/build.gradle b/binder/build.gradle index 7ac23750a2..dc9df6b04d 100644 --- a/binder/build.gradle +++ b/binder/build.gradle @@ -6,7 +6,7 @@ plugins { description = 'gRPC BinderChannel' android { - namespace 'io.grpc.binder' + namespace = 'io.grpc.binder' compileSdkVersion 34 compileOptions { sourceCompatibility 1.8 @@ -18,16 +18,16 @@ android { versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - multiDexEnabled true + multiDexEnabled = true } - lintOptions { abortOnError false } + lintOptions { abortOnError = false } publishing { singleVariant('release') { withSourcesJar() withJavadocJar() } } - testFixtures { enable true } + testFixtures { enable = true } } repositories { diff --git a/build.gradle b/build.gradle index d47687421b..bedc8a1bdf 100644 --- a/build.gradle +++ b/build.gradle @@ -25,7 +25,7 @@ subprojects { repositories { maven { // The google mirror is less flaky than mavenCentral() - url "https://maven-central.storage-download.googleapis.com/maven2/" + url = "https://maven-central.storage-download.googleapis.com/maven2/" metadataSources { mavenPom() ignoreGradleMetadataRedirection() @@ -241,9 +241,9 @@ subprojects { tasks.named("test").configure { testLogging { exceptionFormat = 'full' - showExceptions true - showCauses true - showStackTraces true + showExceptions = true + showCauses = true + showStackTraces = true } maxHeapSize = '1500m' } @@ -410,7 +410,7 @@ subprojects { } signing { - required false + required = false sign publishing.publications.maven } diff --git a/census/build.gradle b/census/build.gradle index 0993488ff8..c7cb02c15a 100644 --- a/census/build.gradle +++ b/census/build.gradle @@ -40,7 +40,7 @@ dependencies { } tasks.named("javadoc").configure { - failOnError false // no public or protected classes found to document + failOnError = false // no public or protected classes found to document exclude 'io/grpc/census/internal/**' exclude 'io/grpc/census/Internal*' } diff --git a/cronet/build.gradle b/cronet/build.gradle index 1a327f9f96..3cc8620129 100644 --- a/cronet/build.gradle +++ b/cronet/build.gradle @@ -11,7 +11,7 @@ repositories { } android { - namespace 'io.grpc.cronet' + namespace = 'io.grpc.cronet' compileSdkVersion 33 defaultConfig { minSdkVersion 21 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 94113f200e..d4081da476 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/rls/build.gradle b/rls/build.gradle index 1dbcd91ec3..1193ab3d4b 100644 --- a/rls/build.gradle +++ b/rls/build.gradle @@ -50,7 +50,7 @@ tasks.named("compileJava").configure { tasks.named("javadoc").configure { // Do not publish javadoc since currently there is no public API. - failOnError false // no public or protected classes found to document + failOnError = false // no public or protected classes found to document exclude 'io/grpc/lookup/v1/**' exclude 'io/grpc/rls/*Provider.java' exclude 'io/grpc/rls/internal/**' diff --git a/settings.gradle b/settings.gradle index e30849dbe2..22a49f0c3b 100644 --- a/settings.gradle +++ b/settings.gradle @@ -9,7 +9,7 @@ pluginManagement { // https://github.com/GoogleCloudPlatform/appengine-plugins/releases id "com.google.cloud.tools.appengine" version "2.8.0" // https://github.com/GoogleContainerTools/jib/blob/master/jib-gradle-plugin/CHANGELOG.md - id "com.google.cloud.tools.jib" version "3.4.4" + id "com.google.cloud.tools.jib" version "3.4.5" // https://github.com/google/osdetector-gradle-plugin/tags id "com.google.osdetector" version "1.7.3" // https://github.com/google/protobuf-gradle-plugin/releases @@ -21,11 +21,11 @@ pluginManagement { // https://github.com/melix/japicmp-gradle-plugin/blob/master/CHANGELOG.txt id "me.champeau.gradle.japicmp" version "0.4.2" // https://github.com/melix/jmh-gradle-plugin/releases - id "me.champeau.jmh" version "0.7.2" + id "me.champeau.jmh" version "0.7.3" // https://github.com/tbroyer/gradle-errorprone-plugin/releases - id "net.ltgt.errorprone" version "4.1.0" + id "net.ltgt.errorprone" version "4.3.0" // https://github.com/xvik/gradle-animalsniffer-plugin/releases - id "ru.vyarus.animalsniffer" version "2.0.0" + id "ru.vyarus.animalsniffer" version "2.0.1" } resolutionStrategy { eachPlugin {