File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ pytorchNativeVersion=1.9.1
7373shadowJarVersion =7.1.2
7474openblasVersion =0.3.10-1.5.4
7575arpackNgVersion =3.7.0-1.5.4
76+ # Please, specify absolute path to jdk8 rt.jar C:/Program Files/Java/jdk1.8.0_311/jre/lib/rt.jar
77+ jdk8Jar =""
7678
7779# configuration for build server
7880org.gradle.daemon =false
Original file line number Diff line number Diff line change @@ -4,14 +4,18 @@ plugins {
44apply plugin : ' jacoco'
55
66configurations {
7- fetchInstrumentationJar
7+ fetchInstrumentationJar. extendsFrom testImplementation
88}
99
1010compileJava {
1111 options. compilerArgs << ' -XDignore.symbol.file'
1212}
1313
1414compileTestJava {
15+ // Specify path to rt.jar of jdk8 in gradle.properties
16+ options. bootstrapClasspath = files(" ${ jdk8Jar} " )
17+ sourceCompatibility = ' 1.8'
18+ targetCompatibility = ' 1.8'
1519 options. fork = true
1620 options. forkOptions. executable = ' javac'
1721 options. compilerArgs << " -XDignore.symbol.file"
@@ -74,6 +78,7 @@ dependencies {
7478}
7579
7680processResources {
81+ duplicatesStrategy = DuplicatesStrategy . EXCLUDE
7782 from(configurations. fetchInstrumentationJar) {
7883 into " lib"
7984 }
You can’t perform that action at this time.
0 commit comments