[FIR] Fix warnings in FIR modules and enable -Werror in them

This commit is contained in:
Dmitriy Novozhilov
2021-02-12 12:35:54 +03:00
committed by TeamCityServer
parent 0e31551797
commit 0c4bca4bde
10 changed files with 36 additions and 61 deletions
+6
View File
@@ -50,6 +50,12 @@ val compileKotlin by tasks
compileKotlin.dependsOn(generateTree)
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions {
freeCompilerArgs += "-Xinline-classes"
}
}
if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
apply(plugin = "idea")
idea {