Fix warning: w: '-Xopt-in' is deprecated and will be removed in a future release, please use -opt-in instead

This commit is contained in:
Benoit Marty 2022-05-09 22:08:24 +02:00
parent 41359a53f7
commit c04655cd36

View file

@ -44,7 +44,7 @@ android {
kotlinOptions {
jvmTarget = "11"
freeCompilerArgs += [
"-Xopt-in=kotlin.RequiresOptIn"
"-opt-in=kotlin.RequiresOptIn"
]
}
}
@ -52,4 +52,4 @@ android {
dependencies {
implementation libs.androidx.appCompat
implementation libs.jetbrains.coroutinesAndroid
}
}