276f5b26d8
It's expected to partially mimic the behavior of what previously was called builder inference, but with more clear contracts (documentation is in progress, though) See a lot of fixed issues in the later commits with test data, especially [red-to-green] ^KT-59791 In Progress
30 lines
726 B
Kotlin
30 lines
726 B
Kotlin
val projectsAllowedToUseFirFromSymbol = listOf(
|
|
"analysis-tests",
|
|
"dump",
|
|
"fir-deserialization",
|
|
"fir-serialization",
|
|
"fir2ir",
|
|
"java",
|
|
"jvm",
|
|
"raw-fir",
|
|
"providers",
|
|
"semantics",
|
|
"resolve",
|
|
"tree",
|
|
"jvm-backend",
|
|
"light-tree2fir",
|
|
"psi2fir",
|
|
"raw-fir.common"
|
|
)
|
|
|
|
subprojects {
|
|
if (name in projectsAllowedToUseFirFromSymbol) {
|
|
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>>().configureEach {
|
|
kotlinOptions {
|
|
freeCompilerArgs += "-opt-in=org.jetbrains.kotlin.fir.symbols.SymbolInternals"
|
|
freeCompilerArgs += "-opt-in=org.jetbrains.kotlin.types.model.K2Only"
|
|
}
|
|
}
|
|
}
|
|
}
|