Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
smola committed Aug 26, 2024
1 parent 4f06d3a commit c087327
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions dd-smoke-tests/java9-modules/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
ext {
defaultJdkVersion = 11
defaultJavaVersion = 11
defaultJavaCompilerRelease = 11
minJavaVersionForTests = JavaVersion.VERSION_11
}

Expand All @@ -10,12 +13,8 @@ jar {
}
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

[JavaCompile, GroovyCompile].each {
tasks.withType(it).configureEach { AbstractCompile ac ->
setJavaVersion(ac, 11)
// read up classpath lazily to avoid early locking of gradle settings
ac.options.compilerArgumentProviders.add(new CommandLineArgumentProvider() {
@Override
Expand Down

0 comments on commit c087327

Please sign in to comment.