mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 08:17:04 +05:30
common: set OptIn flag
This commit is contained in:
parent
7991e769cb
commit
e056c78b71
1 changed files with 6 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
import org.jetbrains.compose.compose
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform")
|
||||
|
@ -42,6 +43,11 @@ kotlin {
|
|||
}
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile> {
|
||||
kotlinOptions.freeCompilerArgs =
|
||||
kotlinOptions.freeCompilerArgs + listOf("-Xopt-in=kotlin.RequiresOptIn")
|
||||
}
|
||||
|
||||
android {
|
||||
buildFeatures { androidResources = true }
|
||||
compileSdk = 30
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue