diff --git a/kotlin-native/Interop/Indexer/build.gradle.kts b/kotlin-native/Interop/Indexer/build.gradle.kts index 5524511f6f1..ea450c020d0 100644 --- a/kotlin-native/Interop/Indexer/build.gradle.kts +++ b/kotlin-native/Interop/Indexer/build.gradle.kts @@ -175,7 +175,6 @@ val compileKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks tasks.withType().configureEach { kotlinOptions { - allWarningsAsErrors = true freeCompilerArgs += listOf("-Xskip-prerelease-check") } } diff --git a/kotlin-native/Interop/Runtime/build.gradle.kts b/kotlin-native/Interop/Runtime/build.gradle.kts index 32db09b7a73..4248aaa202e 100644 --- a/kotlin-native/Interop/Runtime/build.gradle.kts +++ b/kotlin-native/Interop/Runtime/build.gradle.kts @@ -77,7 +77,6 @@ tasks.withType().configureEach "-opt-in=kotlin.ExperimentalUnsignedTypes", "-Xskip-prerelease-check" ) - allWarningsAsErrors = true } } diff --git a/kotlin-native/Interop/Skia/build.gradle b/kotlin-native/Interop/Skia/build.gradle index 27686710258..b1d2b5f30b7 100644 --- a/kotlin-native/Interop/Skia/build.gradle +++ b/kotlin-native/Interop/Skia/build.gradle @@ -24,9 +24,3 @@ dependencies { implementation project(":kotlin-native:Interop:Indexer") implementation project(":kotlin-native:Interop:StubGenerator") } - -compileKotlin { - kotlinOptions { - allWarningsAsErrors=true - } -} diff --git a/kotlin-native/Interop/StubGenerator/build.gradle.kts b/kotlin-native/Interop/StubGenerator/build.gradle.kts index f9702fbd441..514bb5463f9 100644 --- a/kotlin-native/Interop/StubGenerator/build.gradle.kts +++ b/kotlin-native/Interop/StubGenerator/build.gradle.kts @@ -50,7 +50,6 @@ tasks { "-opt-in=kotlin.ExperimentalUnsignedTypes", "-Xskip-metadata-version-check" ) - allWarningsAsErrors = true } } diff --git a/kotlin-native/backend.native/build.gradle b/kotlin-native/backend.native/build.gradle index 9e6398954ee..779d013cfb2 100644 --- a/kotlin-native/backend.native/build.gradle +++ b/kotlin-native/backend.native/build.gradle @@ -33,7 +33,6 @@ sourceSets { compileCompilerKotlin { kotlinOptions.jvmTarget = "1.8" - kotlinOptions.allWarningsAsErrors=true kotlinOptions.freeCompilerArgs += ['-opt-in=kotlin.RequiresOptIn', '-opt-in=org.jetbrains.kotlin.ir.ObsoleteDescriptorBasedAPI', '-Xskip-prerelease-check'] }