X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;fp=build.gradle;h=9aedd2f5691bacac3ac418eec41246886d4ba1d4;hb=ebe6d6c49b13eceb339f0a83c3f2f58ea70d02b4;hp=9f00d2b4c8be8aa477cdc4bcb1047bb679f37caa;hpb=a44bf47650800c7fcb0a6d493e1c52e13f4e4e76;p=jalview.git diff --git a/build.gradle b/build.gradle index 9f00d2b..9aedd2f 100644 --- a/build.gradle +++ b/build.gradle @@ -97,6 +97,19 @@ if (JAVA_VERSION.equals("1.8")) { '--module-path', ext.modules_compileClasspath.asPath, '--add-modules', j11modules ] +} else if (JAVA_VERSION.equals("12") || JAVA_VERSION.equals("13")) { + JAVA_INTEGER_VERSION = JAVA_VERSION + libDir = j11libDir + libDistDir = j11libDir + compile_source_compatibility = JAVA_VERSION + compile_target_compatibility = JAVA_VERSION + getdown_alt_java_min_version = getdown_alt_java11_min_version + getdown_alt_multi_java_location = getdown_alt_java11_txt_multi_java_location + eclipse_java_runtime_name = "JavaSE-11" + additional_compiler_args += [ + '--module-path', ext.modules_compileClasspath.asPath, + '--add-modules', j11modules + ] } else { throw new GradleException("JAVA_VERSION=$JAVA_VERSION not currently supported by Jalview") }