Skip to content

Commit a1db70d

Browse files
committed
Use java11 for axis2 latestDep
1 parent b122803 commit a1db70d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

dd-java-agent/instrumentation/axis-2/build.gradle

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
ext {
2+
latestDepTestMinJavaVersionForTests = JavaVersion.VERSION_11
3+
latestDepForkedTestMinJavaVersionForTests = JavaVersion.VERSION_11
4+
}
15
muzzle {
26
pass {
37
group = "org.apache.axis2"
@@ -19,6 +23,18 @@ configurations.all {
1923
}
2024
}
2125

26+
[compileLatestDepForkedTestGroovy, compileLatestDepTestGroovy].each {
27+
it.configure {
28+
javaLauncher = getJavaLauncherFor(11)
29+
}
30+
}
31+
32+
[compileLatestDepForkedTestJava, compileLatestDepTestJava].each {
33+
it.configure {
34+
setJavaVersion(it, 11)
35+
}
36+
}
37+
2238
dependencies {
2339
compileOnly group: 'org.apache.axis2', name: 'axis2-kernel', version: '1.3'
2440

0 commit comments

Comments
 (0)