Skip to content

Commit 485caf1

Browse files
committed
Move to Java 11.
1 parent 9b8300e commit 485caf1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

build.gradle

+6-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ allprojects {
8282
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
8383
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
8484
}
85+
}
8586

86-
sourceCompatibility = JavaVersion.VERSION_11
87-
targetCompatibility = JavaVersion.VERSION_11
87+
java {
88+
toolchain {
89+
languageVersion = JavaLanguageVersion.of(11)
90+
}
8891
}
92+

0 commit comments

Comments
 (0)