Replace usages of useExperimentalAnnotation
Fix warnings on kotlin-result/build.gradle.kts and kotlin-result-coroutines/build.gradle.kts caused by using deprecated useExperimentalAnnotation function.
This commit is contained in:
parent
b8d4109eee
commit
4e1bb9d8de
@ -9,7 +9,7 @@ kotlin {
|
||||
sourceSets {
|
||||
all {
|
||||
languageSettings.apply {
|
||||
useExperimentalAnnotation("kotlin.contracts.ExperimentalContracts")
|
||||
optIn("kotlin.contracts.ExperimentalContracts")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ kotlin {
|
||||
sourceSets {
|
||||
all {
|
||||
languageSettings.apply {
|
||||
useExperimentalAnnotation("kotlin.contracts.ExperimentalContracts")
|
||||
optIn("kotlin.contracts.ExperimentalContracts")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user