[build] Force Java 11 source compatibility (#4472)

We want to have the option of falling back to a Java 11 runtime, at least for this year.
This commit is contained in:
Thad House
2022-10-14 19:39:54 -07:00
committed by GitHub
parent 58b6484dbe
commit d9d6c425e7

View File

@@ -108,6 +108,11 @@ subprojects {
subproj.apply plugin: MultiBuilds
}
plugins.withType(JavaPlugin) {
sourceCompatibility = 11
targetCompatibility = 11
}
apply from: "${rootDir}/shared/java/javastyle.gradle"
// Disables doclint in java 8.