File tree Expand file tree Collapse file tree 10 files changed +50
-0
lines changed Expand file tree Collapse file tree 10 files changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,7 @@ dependencies {
13
13
testImplementation " org.easymock:easymock"
14
14
testImplementation " org.assertj:assertj-core"
15
15
}
16
+
17
+ compileTestJava {
18
+ targetCompatibility = JavaVersion . VERSION_11
19
+ }
Original file line number Diff line number Diff line change @@ -44,3 +44,13 @@ dependencies {
44
44
testImplementation " org.assertj:assertj-core"
45
45
testImplementation " com.unboundid:unboundid-ldapsdk"
46
46
}
47
+
48
+ compileTestJava {
49
+ targetCompatibility = JavaVersion . VERSION_11
50
+ doFirst {
51
+ options. compilerArgs = [
52
+ ' --add-exports' , ' java.naming/com.sun.jndi.ldap=ALL-UNNAMED'
53
+ ]
54
+ }
55
+ }
56
+
Original file line number Diff line number Diff line change @@ -17,3 +17,7 @@ dependencies {
17
17
exclude group : ' com.sun.jmx'
18
18
}
19
19
}
20
+
21
+ compileTestJava {
22
+ targetCompatibility = JavaVersion . VERSION_11
23
+ }
Original file line number Diff line number Diff line change @@ -36,4 +36,8 @@ dependencies {
36
36
testImplementation " org.apache.directory.shared:shared-ldap"
37
37
testImplementation platform(' org.junit:junit-bom' )
38
38
testImplementation " org.junit.vintage:junit-vintage-engine"
39
+ }
40
+
41
+ compileTestJava {
42
+ targetCompatibility = JavaVersion . VERSION_11
39
43
}
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ dependencies {
18
18
testImplementation ' org.springframework.security:spring-security-test'
19
19
}
20
20
21
+ compileTestJava {
22
+ targetCompatibility = JavaVersion . VERSION_11
23
+ }
24
+
21
25
tasks. named(' test' ) {
22
26
useJUnitPlatform()
23
27
}
Original file line number Diff line number Diff line change @@ -24,3 +24,7 @@ dependencies {
24
24
" junit:junit" ,
25
25
" org.assertj:assertj-core"
26
26
}
27
+
28
+ compileTestJava {
29
+ targetCompatibility = JavaVersion . VERSION_11
30
+ }
Original file line number Diff line number Diff line change @@ -24,3 +24,7 @@ dependencies {
24
24
" junit:junit" ,
25
25
" org.assertj:assertj-core"
26
26
}
27
+
28
+ compileTestJava {
29
+ targetCompatibility = JavaVersion . VERSION_11
30
+ }
Original file line number Diff line number Diff line change @@ -15,3 +15,12 @@ dependencies {
15
15
testImplementation " gsbase:gsbase"
16
16
testImplementation " org.assertj:assertj-core"
17
17
}
18
+
19
+ compileTestJava {
20
+ targetCompatibility = JavaVersion . VERSION_11
21
+ doFirst {
22
+ options. compilerArgs = [
23
+ ' --add-exports' , ' java.naming/com.sun.jndi.ldap=ALL-UNNAMED'
24
+ ]
25
+ }
26
+ }
Original file line number Diff line number Diff line change @@ -29,3 +29,7 @@ dependencies {
29
29
testImplementation " org.junit.vintage:junit-vintage-engine"
30
30
testImplementation " org.assertj:assertj-core"
31
31
}
32
+
33
+ compileTestJava {
34
+ targetCompatibility = JavaVersion . VERSION_11
35
+ }
Original file line number Diff line number Diff line change 83
83
}
84
84
}
85
85
86
+ compileTestJava {
87
+ targetCompatibility = JavaVersion . VERSION_11
88
+ }
86
89
87
90
test {
88
91
systemProperties = System . properties
You can’t perform that action at this time.
0 commit comments