mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Converted the read json list Java file to Kotlin (#1495)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
kotlin("kapt")
|
||||
@@ -9,3 +11,11 @@ dependencies {
|
||||
implementation(project(":moshi"))
|
||||
implementation(project(":moshi-adapters"))
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs += listOf(
|
||||
"-Xopt-in=kotlin.ExperimentalStdlibApi"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user