Skip to content

Commit 0bd4d7f

Browse files
committed
set min java version to 17
1 parent 6528601 commit 0bd4d7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

custom-checks/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ dependencies {
1212
}
1313

1414
otelJava {
15-
minJavaVersionSupported.set(JavaVersion.VERSION_11)
15+
minJavaVersionSupported.set(JavaVersion.VERSION_17)
1616
}
1717

1818
// We cannot use "--release" javac option here because that will forbid exporting com.sun.tools package.
1919
// We also can't seem to use the toolchain without the "--release" option. So disable everything.
2020

2121
java {
22-
sourceCompatibility = JavaVersion.VERSION_11
23-
targetCompatibility = JavaVersion.VERSION_11
22+
sourceCompatibility = JavaVersion.VERSION_17
23+
targetCompatibility = JavaVersion.VERSION_17
2424
toolchain {
2525
languageVersion.set(null as JavaLanguageVersion?)
2626
}

0 commit comments

Comments
 (0)