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 46cdc01 commit 7a99420Copy full SHA for 7a99420
build.gradle.kts
@@ -22,6 +22,11 @@ dependencyLocking {
22
23
group = "net.ltgt.gradle"
24
25
+// Make sure Gradle Module Metadata targets the appropriate JVM version
26
+tasks.withType<JavaCompile>().configureEach {
27
+ options.release.set(kotlinDslPluginOptions.jvmTarget.map { JavaVersion.toVersion(it).majorVersion.toInt() })
28
+}
29
+
30
tasks.withType<KotlinCompile>().configureEach {
31
kotlinOptions.allWarningsAsErrors = true
32
}
0 commit comments