File tree 2 files changed +8
-1
lines changed
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
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"
@@ -74,6 +78,7 @@ dependencies {
74
78
}
75
79
76
80
processResources {
81
+ duplicatesStrategy = DuplicatesStrategy . EXCLUDE
77
82
from(configurations. fetchInstrumentationJar) {
78
83
into " lib"
79
84
}
You can’t perform that action at this time.
0 commit comments