File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,6 @@ dependencies {
2222 latestDepTestLibrary(" ch.qos.logback:logback-classic:+" )
2323}
2424
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- }
3225tasks {
3326 val testPrometheus by registering(Test ::class ) {
3427 dependencies {
@@ -41,6 +34,14 @@ tasks {
4134 }
4235}
4336
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+
4445val latestDepTest = findProperty(" testLatestDeps" ) as Boolean
4546
4647// spring 6 (spring boot 3) requires java 17
You can’t perform that action at this time.
0 commit comments