[Compiler] Mark all entrypoints to compiler API as experimental
This commit is contained in:
committed by
teamcity
parent
169e80e8c9
commit
1a8496757e
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user