File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-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"
@@ -23,6 +27,7 @@ sourceSets {
2327 srcDir(' build/output/test/antlr' )
2428 srcDir(' build/output/test/custom' )
2529 srcDir(' build/output/test/guava' )
30+ srcDir(' build/output/test/guava-26.0' )
2631 srcDir(' build/output/test/fescar' )
2732 srcDir(' build/output/test/pdfbox' )
2833 srcDir(' build/output/test/seata' )
@@ -74,6 +79,7 @@ dependencies {
7479}
7580
7681processResources {
82+ duplicatesStrategy = DuplicatesStrategy . EXCLUDE
7783 from(configurations. fetchInstrumentationJar) {
7884 into " lib"
7985 }
You can’t perform that action at this time.
0 commit comments