@@ -57,7 +57,7 @@ repositories {
57
57
mavenLocal()
58
58
}
59
59
60
- final requiredJavaVersion = " 8 "
60
+ final requiredJavaVersion = " 11 "
61
61
final htsjdkVersion = System . getProperty(' htsjdk.version' ,' 2.20.2' )
62
62
final picardVersion = System . getProperty(' picard.version' ,' 2.20.5' )
63
63
final barclayVersion = System . getProperty(' barclay.version' ,' 2.1.0' )
@@ -129,11 +129,11 @@ def resolveLargeResourceStubFiles(largeResourcesFolder, buildPrerequisitesMessag
129
129
// resource files that are needed to run the build but are still lfs stub files.
130
130
def ensureBuildPrerequisites (requiredJavaVersion , largeResourcesFolder , buildPrerequisitesMessage ) {
131
131
// Make sure we can get a ToolProvider class loader. If not we may have just a JRE, or a JDK from the future.
132
- if (ToolProvider . getSystemToolClassLoader() == null ) {
133
- throw new GradleException (
134
- " The ClassLoader obtained from the Java ToolProvider is null. "
135
- + " A Java $requiredJavaVersion JDK must be installed. $buildPrerequisitesMessage " )
136
- }
132
+ // if (ToolProvider.getSystemToolClassLoader() == null) {
133
+ // throw new GradleException(
134
+ // "The ClassLoader obtained from the Java ToolProvider is null. "
135
+ // + "A Java $requiredJavaVersion JDK must be installed. $buildPrerequisitesMessage")
136
+ // }
137
137
if (! file(" .git" ). isDirectory()) {
138
138
throw new GradleException (" The GATK Github repository must be cloned using \" git clone\" to run the build. "
139
139
+ " $buildPrerequisitesMessage " )
@@ -169,7 +169,7 @@ configurations.all {
169
169
}
170
170
171
171
tasks. withType(JavaCompile ) {
172
- options. compilerArgs = [' -proc:none' , ' -Xlint:all' , ' -Werror ' , ' - Xdiags:verbose' ]
172
+ options. compilerArgs = [' -proc:none' , ' -Xlint:all' , ' -Xdiags:verbose' ]
173
173
options. encoding = ' UTF-8'
174
174
}
175
175
@@ -215,12 +215,12 @@ configurations {
215
215
// Get the jdk files we need to run javaDoc. We need to use these during compile, testCompile,
216
216
// test execution, and gatkDoc generation, but we don't want them as part of the runtime
217
217
// classpath and we don't want to redistribute them in the uber jar.
218
- final javadocJDKFiles = files(((URLClassLoader ) ToolProvider . getSystemToolClassLoader()). getURLs())
218
+ final javadocJDKFiles = null // files(((URLClassLoader) ToolProvider.getSystemToolClassLoader()).getURLs())
219
219
220
220
dependencies {
221
221
// javadoc utilities; compile/test only to prevent redistribution of sdk jars
222
- compileOnly(javadocJDKFiles)
223
- testCompile(javadocJDKFiles)
222
+ // compileOnly(javadocJDKFiles)
223
+ // testCompile(javadocJDKFiles)
224
224
225
225
compile ' org.broadinstitute:barclay:' + barclayVersion
226
226
// Library for configuration:
@@ -646,7 +646,7 @@ task gatkDoc(type: Javadoc, dependsOn: classes) {
646
646
647
647
// The gatkDoc process instantiates any documented feature classes, so to run it we need the entire
648
648
// runtime classpath, as well as jdk javadoc files such as tools.jar, where com.sun.javadoc lives.
649
- classpath = sourceSets. main. runtimeClasspath + javadocJDKFiles
649
+ // classpath = sourceSets.main.runtimeClasspath + javadocJDKFiles
650
650
options. docletpath = classpath. asType(List )
651
651
options. doclet = " org.broadinstitute.hellbender.utils.help.GATKHelpDoclet"
652
652
@@ -682,7 +682,7 @@ task gatkTabComplete(type: Javadoc, dependsOn: classes) {
682
682
683
683
// The gatkDoc process instantiates any documented feature classes, so to run it we need the entire
684
684
// runtime classpath, as well as jdk javadoc files such as tools.jar, where com.sun.javadoc lives, and Picard.
685
- classpath = sourceSets. main. runtimeClasspath + javadocJDKFiles
685
+ // classpath = sourceSets.main.runtimeClasspath + javadocJDKFiles
686
686
687
687
options. docletpath = classpath. asType(List )
688
688
options. doclet = " org.broadinstitute.barclay.help.BashTabCompletionDoclet"
0 commit comments