Skip to content

Commit 69b15dc

Browse files
committed
Revert back to JDK 8
1 parent ce80f4c commit 69b15dc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ plugins {
1414
}
1515

1616
java {
17-
sourceCompatibility = JavaVersion.VERSION_11
18-
targetCompatibility = JavaVersion.VERSION_11
17+
sourceCompatibility = JavaVersion.VERSION_1_8
18+
targetCompatibility = JavaVersion.VERSION_1_8
1919
}
2020

2121
// The releaseVersion property is set on official releases in the release.yml workflow.
@@ -141,7 +141,7 @@ tasks.withType<JavaCompile> {
141141
dependsOn("generateTestSources")
142142
if (JavaVersion.current().isJava9Compatible) {
143143
doFirst {
144-
options.compilerArgs = mutableListOf("--release", "11")
144+
options.compilerArgs = mutableListOf("--release", "8")
145145
}
146146
}
147147
// Disable errorprone on generated code
@@ -271,6 +271,7 @@ dependencies {
271271
implementation(enforcedPlatform(libs.cel))
272272
implementation(libs.cel.core)
273273
implementation(libs.guava)
274+
implementation(libs.ipaddress)
274275

275276
buf("build.buf:buf:${libs.versions.buf.get()}:${osdetector.classifier}@exe")
276277

0 commit comments

Comments
 (0)