There was an error while loading. Please reload this page.
1 parent f6c98f0 commit 5de0707Copy full SHA for 5de0707
build.gradle.kts
@@ -197,6 +197,19 @@ subprojects {
197
}
198
199
200
+ // Configure all projects' source sets (jvm and kmp)
201
+ plugins.matching { it.javaClass.name.startsWith("org.jetbrains.kotlin") }.configureEach {
202
+ kotlinExtension.sourceSets {
203
+ // Exclude all test source sets (containing Test)
204
+ matching { !it.name.contains("Test", ignoreCase = true) }.all {
205
+ languageSettings {
206
+ apiVersion = "2.0"
207
+ languageVersion = "2.0"
208
+ }
209
210
211
212
+
213
val platform = System.getProperty("okhttp.platform", "jdk9")
214
val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
215
0 commit comments