File tree 1 file changed +8
-7
lines changed
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,6 @@ dependencies {
22
22
latestDepTestLibrary(" ch.qos.logback:logback-classic:+" )
23
23
}
24
24
25
- tasks.withType<Test >().configureEach {
26
- // required on jdk17
27
- jvmArgs(" --add-opens=java.base/java.lang=ALL-UNNAMED" )
28
- jvmArgs(" -XX:+IgnoreUnrecognizedVMOptions" )
29
-
30
- jvmArgs(" -Dotel.instrumentation.spring-boot-actuator-autoconfigure.enabled=true" )
31
- }
32
25
tasks {
33
26
val testPrometheus by registering(Test ::class ) {
34
27
dependencies {
@@ -41,6 +34,14 @@ tasks {
41
34
}
42
35
}
43
36
37
+ tasks.withType<Test >().configureEach {
38
+ // required on jdk17
39
+ jvmArgs(" --add-opens=java.base/java.lang=ALL-UNNAMED" )
40
+ jvmArgs(" -XX:+IgnoreUnrecognizedVMOptions" )
41
+
42
+ jvmArgs(" -Dotel.instrumentation.spring-boot-actuator-autoconfigure.enabled=true" )
43
+ }
44
+
44
45
val latestDepTest = findProperty(" testLatestDeps" ) as Boolean
45
46
46
47
// spring 6 (spring boot 3) requires java 17
You can’t perform that action at this time.
0 commit comments