File tree 2 files changed +9
-1
lines changed
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
73
73
shadowJarVersion =7.1.2
74
74
openblasVersion =0.3.10-1.5.4
75
75
arpackNgVersion =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 =""
76
78
77
79
# configuration for build server
78
80
org.gradle.daemon =false
Original file line number Diff line number Diff line change @@ -4,14 +4,18 @@ plugins {
4
4
apply plugin : ' jacoco'
5
5
6
6
configurations {
7
- fetchInstrumentationJar
7
+ fetchInstrumentationJar. extendsFrom testImplementation
8
8
}
9
9
10
10
compileJava {
11
11
options. compilerArgs << ' -XDignore.symbol.file'
12
12
}
13
13
14
14
compileTestJava {
15
+ // Specify path to rt.jar of jdk8 in gradle.properties
16
+ options. bootstrapClasspath = files(" ${ jdk8Jar} " )
17
+ sourceCompatibility = ' 1.8'
18
+ targetCompatibility = ' 1.8'
15
19
options. fork = true
16
20
options. forkOptions. executable = ' javac'
17
21
options. compilerArgs << " -XDignore.symbol.file"
@@ -23,6 +27,7 @@ sourceSets {
23
27
srcDir(' build/output/test/antlr' )
24
28
srcDir(' build/output/test/custom' )
25
29
srcDir(' build/output/test/guava' )
30
+ srcDir(' build/output/test/guava-26.0' )
26
31
srcDir(' build/output/test/fescar' )
27
32
srcDir(' build/output/test/pdfbox' )
28
33
srcDir(' build/output/test/seata' )
@@ -74,6 +79,7 @@ dependencies {
74
79
}
75
80
76
81
processResources {
82
+ duplicatesStrategy = DuplicatesStrategy . EXCLUDE
77
83
from(configurations. fetchInstrumentationJar) {
78
84
into " lib"
79
85
}
You can’t perform that action at this time.
0 commit comments