[Build] Use -Xuse-k2 flag instead of -Xuse-fir

This commit is contained in:
Dmitriy Novozhilov
2022-05-24 11:07:20 +03:00
committed by teamcity
parent 7c19f3b1ca
commit c62257bbab
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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) {