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 819b318 commit 70db5ceCopy full SHA for 70db5ce
okio/build.gradle.kts
@@ -63,6 +63,14 @@ kotlin {
63
optIn("kotlin.contracts.ExperimentalContracts")
64
}
65
66
+ // Some sourceSets do not end with Test, easier to use the negative
67
+ matching { !it.name.endsWith("Test") }.all {
68
+ // Setting these to allow for backwards compatibility
69
+ languageSettings.apply {
70
+ apiVersion = "2.0"
71
+ languageVersion = "2.0"
72
+ }
73
74
matching { it.name.endsWith("Test") }.all {
75
languageSettings {
76
optIn("kotlin.time.ExperimentalTime")
0 commit comments