We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba255b8 commit ed8d3fbCopy full SHA for ed8d3fb
utils/socket-utils/build.gradle.kts
@@ -26,11 +26,8 @@ fun AbstractCompile.setJavaVersion(javaVersionInteger: Int) {
26
(project.extra.get("setJavaVersion") as Closure<*>).call(this, javaVersionInteger)
27
}
28
29
-listOf(
30
- tasks.named<JavaCompile>("compileMain_java17Java"),
31
- tasks.named<JavaCompile>("compileTestJava"),
32
-).forEach {
33
- it.configure {
+listOf("compileMain_java17Java", "compileTestJava").forEach {
+ tasks.named<JavaCompile>(it).configure {
34
setJavaVersion(17)
35
sourceCompatibility = JavaVersion.VERSION_1_8.toString()
36
targetCompatibility = JavaVersion.VERSION_1_8.toString()
0 commit comments