[Build] Add utility function to opt-in to ObsoleteDescriptorBasedAPI
This commit is contained in:
committed by
Space Team
parent
697d0d5638
commit
9e3afe7a1f
@@ -17,16 +17,9 @@ dependencies {
|
||||
}
|
||||
|
||||
optInToIrSymbolInternals()
|
||||
optInToObsoleteDescriptorBasedAPI()
|
||||
|
||||
sourceSets {
|
||||
"main" { projectDefault() }
|
||||
"test" {}
|
||||
}
|
||||
|
||||
tasks {
|
||||
named<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>("compileKotlin") {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs += "-opt-in=org.jetbrains.kotlin.ir.ObsoleteDescriptorBasedAPI"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user