mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Kotlin 2.1 and friends (#1966)
* Kotlin 2.1 and friends * fix kotlin 2.1 aliases nullability (#1982) --------- Co-authored-by: Florian LE FICHER <florian.leficher@gmail.com>
This commit is contained in:
@@ -35,8 +35,9 @@ tasks.withType<Test>().configureEach {
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
compilerOptions {
|
||||
allWarningsAsErrors.set(true)
|
||||
freeCompilerArgs.add(
|
||||
freeCompilerArgs.addAll(
|
||||
"-opt-in=kotlin.ExperimentalStdlibApi",
|
||||
"-Xannotation-default-target=param-property",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user