mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-29 09:03:12 +00:00
Fix Kotlin warnings
This commit is contained in:
1 parent
06146c2b08
commit
48f7f3d01f
14 files changed
+38
-23
No files matched your search
@@ -6,6 +6,14 @@ plugins {
|
||||
id("com.android.kotlin.multiplatform.library")
|
||||
}
|
||||
kotlin {
|
||||
compilerOptions {
|
||||
// expect/actual classes are Beta in Kotlin 2.x; opt in deliberately.
|
||||
freeCompilerArgs.add("-Xexpect-actual-classes")
|
||||
// The compiler prints a warning only when it recompiles that file, and
|
||||
// up-to-date or incremental builds never replay it, so warnings are easy
|
||||
// to miss. Fail the build instead.
|
||||
allWarningsAsErrors.set(true)
|
||||
}
|
||||
android {
|
||||
namespace = "com.faceclaw.shared"
|
||||
compileSdk = 35
|
||||
|
||||
Reference in new issue
Block a user