diff --git a/kotlin-native/Interop/Indexer/build.gradle b/kotlin-native/Interop/Indexer/build.gradle index a9b94b00d74..97b112c3b9d 100644 --- a/kotlin-native/Interop/Indexer/build.gradle +++ b/kotlin-native/Interop/Indexer/build.gradle @@ -143,8 +143,8 @@ kotlinNativeInterop { compileKotlin { kotlinOptions { - allWarningsAsErrors=true - kotlinOptions.freeCompilerArgs = ["-Xskip-prerelease-check"] +// allWarningsAsErrors=true + freeCompilerArgs = ["-Xskip-prerelease-check"] } } diff --git a/kotlin-native/Interop/Runtime/build.gradle b/kotlin-native/Interop/Runtime/build.gradle index c90aa241156..06a0a6663a6 100644 --- a/kotlin-native/Interop/Runtime/build.gradle +++ b/kotlin-native/Interop/Runtime/build.gradle @@ -77,7 +77,7 @@ compileKotlin { kotlinOptions { freeCompilerArgs = ['-Xuse-experimental=kotlin.ExperimentalUnsignedTypes', '-Xuse-experimental=kotlin.Experimental', '-Xopt-in=kotlin.RequiresOptIn', "-XXLanguage:+InlineClasses", "-Xskip-prerelease-check"] - allWarningsAsErrors=true +// allWarningsAsErrors=true } } diff --git a/kotlin-native/Interop/StubGenerator/build.gradle b/kotlin-native/Interop/StubGenerator/build.gradle index d4b8b3e9d08..1dfc3680a27 100644 --- a/kotlin-native/Interop/StubGenerator/build.gradle +++ b/kotlin-native/Interop/StubGenerator/build.gradle @@ -47,6 +47,6 @@ dependencies { compileKotlin { kotlinOptions { freeCompilerArgs = ['-Xopt-in=kotlin.ExperimentalUnsignedTypes', '-Xskip-metadata-version-check'] - allWarningsAsErrors=true +// allWarningsAsErrors=true } } diff --git a/kotlin-native/backend.native/build.gradle b/kotlin-native/backend.native/build.gradle index be75830d275..9b4ef1a25dd 100644 --- a/kotlin-native/backend.native/build.gradle +++ b/kotlin-native/backend.native/build.gradle @@ -56,7 +56,7 @@ compileCompilerKotlin { // but not for Kotlin. dependsOn('generateCompilerProto') kotlinOptions.jvmTarget = "1.8" - kotlinOptions.allWarningsAsErrors=true +// kotlinOptions.allWarningsAsErrors=true kotlinOptions.freeCompilerArgs += ['-Xopt-in=kotlin.RequiresOptIn', '-Xopt-in=org.jetbrains.kotlin.ir.ObsoleteDescriptorBasedAPI', '-Xskip-prerelease-check'] } @@ -323,4 +323,4 @@ publishing { from components.java } } -} \ No newline at end of file +}