File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed
dd-java-agent/instrumentation/resilience4j Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ idea {
2121 }
2222}
2323
24- // Set all compile tasks to use JDK17 but let instrumentation code target 1.8 compatibility
2524project. tasks. withType(AbstractCompile ). configureEach {
26- setJavaVersion(it, 17 )
27- }
28- compileJava. configure {
29- sourceCompatibility = JavaVersion . VERSION_1_8
30- targetCompatibility = JavaVersion . VERSION_1_8
25+ configureCompiler(
26+ it,
27+ 17 ,
28+ JavaVersion . VERSION_1_8 ,
29+ " Set all compile tasks to use JDK17 but let instrumentation code target 1.8 compatibility"
30+ )
3131}
3232
3333addTestSuiteForDir(' latestDepTest' , ' test' )
Original file line number Diff line number Diff line change @@ -23,11 +23,12 @@ idea {
2323
2424// Set all compile tasks to use JDK17 but let instrumentation code target 1.8 compatibility
2525project. tasks. withType(AbstractCompile ). configureEach {
26- setJavaVersion(it, 17 )
27- }
28- compileJava. configure {
29- sourceCompatibility = JavaVersion . VERSION_1_8
30- targetCompatibility = JavaVersion . VERSION_1_8
26+ configureCompiler(
27+ it,
28+ 17 ,
29+ JavaVersion . VERSION_1_8 ,
30+ " Set all compile tasks to use JDK17 but let instrumentation code target 1.8 compatibility"
31+ )
3132}
3233
3334addTestSuiteForDir(' latestDepTest' , ' test' )
You can’t perform that action at this time.
0 commit comments