[Compiler] Mark all entrypoints to compiler API as experimental

This commit is contained in:
Dmitriy Novozhilov
2022-06-27 10:05:23 +03:00
committed by teamcity
parent 169e80e8c9
commit 1a8496757e
46 changed files with 120 additions and 2 deletions
+8
View File
@@ -330,3 +330,11 @@ fun Project.confugureFirPluginAnnotationsDependency(testTask: TaskProvider<Test>
}
}
}
fun Project.optInToExperimentalCompilerApi() {
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>>().configureEach {
kotlinOptions {
freeCompilerArgs += "-opt-in=org.jetbrains.kotlin.compiler.plugin.ExperimentalCompilerApi"
}
}
}