mirror of
https://github.com/null2264/yokai.git
synced 2025-06-20 18:24:42 +00:00
refactor: Don't use context receiver
Deprecated on Kotlin 2.x, scheduled for removal in v2.1.x, will be replaced with context parameters REF: https://github.com/Kotlin/KEEP/issues/259#issuecomment-2278319746 REF: https://youtrack.jetbrains.com/issue/KT-67119/Migration-warning-from-context-receivers-to-context-parameters REF: https://github.com/Kotlin/KEEP/issues/367
This commit is contained in:
parent
1b92ae2e5f
commit
d02f1bdd11
17 changed files with 265 additions and 347 deletions
|
@ -278,7 +278,6 @@ tasks {
|
|||
// See https://kotlinlang.org/docs/reference/experimental.html#experimental-status-of-experimental-api(-markers)
|
||||
withType<KotlinCompile> {
|
||||
compilerOptions.freeCompilerArgs.addAll(
|
||||
"-Xcontext-receivers",
|
||||
// "-opt-in=kotlin.Experimental",
|
||||
"-opt-in=kotlin.RequiresOptIn",
|
||||
"-opt-in=kotlin.ExperimentalStdlibApi",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue