Don't use warningsAsError in compiler modules if useFIR is ON
This commit is contained in:
@@ -86,7 +86,7 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
|||||||
idea {
|
idea {
|
||||||
this.module.generatedSourceDirs.add(generationRoot)
|
this.module.generatedSourceDirs.add(generationRoot)
|
||||||
}
|
}
|
||||||
} else {
|
} else if (!kotlinBuildProperties.useFir) {
|
||||||
allprojects {
|
allprojects {
|
||||||
tasks.withType<KotlinCompile<*>> {
|
tasks.withType<KotlinCompile<*>> {
|
||||||
if (path !in tasksWithWarnings) {
|
if (path !in tasksWithWarnings) {
|
||||||
|
|||||||
Reference in New Issue
Block a user