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 f06e0e9 commit 7581937Copy full SHA for 7581937
build.gradle.kts
@@ -195,6 +195,19 @@ subprojects {
195
}
196
197
198
+ // Configure all projects' source sets (jvm and kmp)
199
+ plugins.matching { it.javaClass.name.startsWith("org.jetbrains.kotlin") }.configureEach {
200
+ kotlinExtension.sourceSets {
201
+ // Exclude all test source sets (containing Test)
202
+ matching { !it.name.contains("Test", ignoreCase = true) }.all {
203
+ languageSettings {
204
+ apiVersion = "2.0"
205
+ languageVersion = "2.0"
206
+ }
207
208
209
210
+
211
val platform = System.getProperty("okhttp.platform", "jdk9")
212
val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
213
0 commit comments