Revert "Temporary remove all -Werror flags"
This reverts commit 89c09214eeed951684405c10c233304834a89beb.
This commit is contained in:
@@ -143,8 +143,8 @@ kotlinNativeInterop {
|
||||
|
||||
compileKotlin {
|
||||
kotlinOptions {
|
||||
// allWarningsAsErrors=true
|
||||
freeCompilerArgs = ["-Xskip-prerelease-check"]
|
||||
allWarningsAsErrors=true
|
||||
kotlinOptions.freeCompilerArgs = ["-Xskip-prerelease-check"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -47,6 +47,6 @@ dependencies {
|
||||
compileKotlin {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs = ['-Xopt-in=kotlin.ExperimentalUnsignedTypes', '-Xskip-metadata-version-check']
|
||||
// allWarningsAsErrors=true
|
||||
allWarningsAsErrors=true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user