We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bed203 commit 1f51ef6Copy full SHA for 1f51ef6
1 file changed
build-support/build.gradle.kts
@@ -85,3 +85,16 @@ allprojects {
85
}
86
87
88
+
89
+// The vanniktech publish plugin 0.36.0+ requires JDK 17. Override the allprojects default (11) for
90
+// the build-support root module which declares it as an implementation dependency.
91
+tasks.withType<JavaCompile>().configureEach {
92
+ sourceCompatibility = JavaVersion.VERSION_17.toString()
93
+ targetCompatibility = JavaVersion.VERSION_17.toString()
94
+}
95
96
+tasks.withType<KotlinCompile>().configureEach {
97
+ compilerOptions {
98
+ jvmTarget.set(JvmTarget.JVM_17)
99
+ }
100
0 commit comments