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:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user