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 f66a76e commit 61ce2f8Copy full SHA for 61ce2f8
tests/codegen/service-codegen-tests/build.gradle.kts
@@ -34,15 +34,12 @@ tasks.test {
34
}
35
36
37
-val optInAnnotations = listOf(
38
- "kotlinx.serialization.ExperimentalSerializationApi",
39
- "kotlin.io.path.ExperimentalPathApi",
40
-)
41
-
42
kotlin {
43
- explicitApi()
44
- sourceSets.all {
45
- optInAnnotations.forEach { languageSettings.optIn(it) }
+ compilerOptions {
+ freeCompilerArgs.addAll(
+ "-opt-in=kotlin.io.path.ExperimentalPathApi",
+ "-opt-in=kotlinx.serialization.ExperimentalSerializationApi"
+ )
46
47
48
0 commit comments