Skip to content

Commit 6ffcbd9

Browse files
committed
Bump Gradle to 8.14.3 and upgrade plugins
The syntax changes adding `=` were to address: https://docs.gradle.org/8.14.3/userguide/upgrading_version_8.html#groovy_space_assignment_syntax
1 parent 36fe276 commit 6ffcbd9

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

android-interop-testing/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repositories {
1010
}
1111

1212
android {
13-
namespace 'io.grpc.android.integrationtest'
13+
namespace = 'io.grpc.android.integrationtest'
1414
sourceSets {
1515
main {
1616
java {
@@ -41,7 +41,7 @@ android {
4141
versionCode 1
4242
versionName "1.0"
4343
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
44-
multiDexEnabled true
44+
multiDexEnabled = true
4545
}
4646
buildTypes {
4747
debug { minifyEnabled false }

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
description = 'gRPC: Android'
88

99
android {
10-
namespace 'io.grpc.android'
10+
namespace = 'io.grpc.android'
1111
compileOptions {
1212
sourceCompatibility JavaVersion.VERSION_1_8
1313
targetCompatibility JavaVersion.VERSION_1_8
@@ -20,7 +20,7 @@ android {
2020
versionName "1.0"
2121
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2222
}
23-
lintOptions { abortOnError true }
23+
lintOptions { abortOnError = true }
2424
publishing {
2525
singleVariant('release') {
2626
withSourcesJar()

binder/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
description = 'gRPC BinderChannel'
77

88
android {
9-
namespace 'io.grpc.binder'
9+
namespace = 'io.grpc.binder'
1010
compileSdkVersion 34
1111
compileOptions {
1212
sourceCompatibility 1.8
@@ -18,16 +18,16 @@ android {
1818
versionCode 1
1919
versionName "1.0"
2020
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
21-
multiDexEnabled true
21+
multiDexEnabled = true
2222
}
23-
lintOptions { abortOnError false }
23+
lintOptions { abortOnError = false }
2424
publishing {
2525
singleVariant('release') {
2626
withSourcesJar()
2727
withJavadocJar()
2828
}
2929
}
30-
testFixtures { enable true }
30+
testFixtures { enable = true }
3131
}
3232

3333
repositories {

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ subprojects {
2525

2626
repositories {
2727
maven { // The google mirror is less flaky than mavenCentral()
28-
url "https://maven-central.storage-download.googleapis.com/maven2/"
28+
url = "https://maven-central.storage-download.googleapis.com/maven2/"
2929
metadataSources {
3030
mavenPom()
3131
ignoreGradleMetadataRedirection()
@@ -241,9 +241,9 @@ subprojects {
241241
tasks.named("test").configure {
242242
testLogging {
243243
exceptionFormat = 'full'
244-
showExceptions true
245-
showCauses true
246-
showStackTraces true
244+
showExceptions = true
245+
showCauses = true
246+
showStackTraces = true
247247
}
248248
maxHeapSize = '1500m'
249249
}
@@ -410,7 +410,7 @@ subprojects {
410410
}
411411

412412
signing {
413-
required false
413+
required = false
414414
sign publishing.publications.maven
415415
}
416416

census/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies {
4040
}
4141

4242
tasks.named("javadoc").configure {
43-
failOnError false // no public or protected classes found to document
43+
failOnError = false // no public or protected classes found to document
4444
exclude 'io/grpc/census/internal/**'
4545
exclude 'io/grpc/census/Internal*'
4646
}

cronet/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repositories {
1111
}
1212

1313
android {
14-
namespace 'io.grpc.cronet'
14+
namespace = 'io.grpc.cronet'
1515
compileSdkVersion 33
1616
defaultConfig {
1717
minSdkVersion 21

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

rls/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ tasks.named("compileJava").configure {
5050

5151
tasks.named("javadoc").configure {
5252
// Do not publish javadoc since currently there is no public API.
53-
failOnError false // no public or protected classes found to document
53+
failOnError = false // no public or protected classes found to document
5454
exclude 'io/grpc/lookup/v1/**'
5555
exclude 'io/grpc/rls/*Provider.java'
5656
exclude 'io/grpc/rls/internal/**'

settings.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pluginManagement {
99
// https://github.com/GoogleCloudPlatform/appengine-plugins/releases
1010
id "com.google.cloud.tools.appengine" version "2.8.0"
1111
// https://github.com/GoogleContainerTools/jib/blob/master/jib-gradle-plugin/CHANGELOG.md
12-
id "com.google.cloud.tools.jib" version "3.4.4"
12+
id "com.google.cloud.tools.jib" version "3.4.5"
1313
// https://github.com/google/osdetector-gradle-plugin/tags
1414
id "com.google.osdetector" version "1.7.3"
1515
// https://github.com/google/protobuf-gradle-plugin/releases
@@ -21,11 +21,11 @@ pluginManagement {
2121
// https://github.com/melix/japicmp-gradle-plugin/blob/master/CHANGELOG.txt
2222
id "me.champeau.gradle.japicmp" version "0.4.2"
2323
// https://github.com/melix/jmh-gradle-plugin/releases
24-
id "me.champeau.jmh" version "0.7.2"
24+
id "me.champeau.jmh" version "0.7.3"
2525
// https://github.com/tbroyer/gradle-errorprone-plugin/releases
26-
id "net.ltgt.errorprone" version "4.1.0"
26+
id "net.ltgt.errorprone" version "4.3.0"
2727
// https://github.com/xvik/gradle-animalsniffer-plugin/releases
28-
id "ru.vyarus.animalsniffer" version "2.0.0"
28+
id "ru.vyarus.animalsniffer" version "2.0.1"
2929
}
3030
resolutionStrategy {
3131
eachPlugin {

0 commit comments

Comments
 (0)