1
0
mirror of https://github.com/google/nomulus synced 2026-01-07 14:05:44 +00:00

Enable Java 11 features (#737)

* Enable Java 11 features

As of this commit Java 11 must be used to build. The generated bytecode
is still at Java 8 due to App Engine task queue limit.

Also fixed a bug where the included google-java-format jar file is not
used, requiring the user to install it separately.

See: https://cloud.google.com/appengine/docs/standard/java/taskqueue/push
This commit is contained in:
Lai Jiang
2020-08-03 16:08:29 -04:00
committed by GitHub
parent 5f2be914a1
commit 9304e2f421
39 changed files with 2662 additions and 31 deletions

View File

@@ -29,6 +29,9 @@ dependencies {
testCompile deps['org.junit.jupiter:junit-jupiter-engine']
}
sourceCompatibility = '11'
targetCompatibility = '11'
task flowDocsTool(type: JavaExec) {
systemProperty 'test.projectRoot', rootProject.projectRootDir
jvmArgs = ['--add-exports', 'jdk.javadoc/jdk.javadoc.internal.tool=ALL-UNNAMED']