[Build] Use -Xuse-k2 flag instead of -Xuse-fir
This commit is contained in:
committed by
teamcity
parent
7c19f3b1ca
commit
c62257bbab
@@ -60,7 +60,7 @@ ext.configureFrontendIr = { Project project ->
|
||||
project.tasks.withType(KotlinCompile.class) { task ->
|
||||
task.kotlinOptions {
|
||||
if (project.kotlinBuildProperties.useFirForLibraries) {
|
||||
freeCompilerArgs += "-Xuse-fir"
|
||||
freeCompilerArgs += "-Xuse-k2"
|
||||
allWarningsAsErrors = false
|
||||
}
|
||||
if (project.properties.renderDiagnosticNames) {
|
||||
|
||||
Reference in New Issue
Block a user