mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
* Update plugin spotless to v6.14.0 * Update Spotless version and apply --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jake Wharton <jw@squareup.com>
22 lines
425 B
Plaintext
22 lines
425 B
Plaintext
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
kotlin("kapt")
|
|
}
|
|
|
|
dependencies {
|
|
kapt(project(":moshi-kotlin-codegen"))
|
|
compileOnly(libs.jsr305)
|
|
implementation(project(":moshi"))
|
|
implementation(project(":moshi-adapters"))
|
|
}
|
|
|
|
tasks.withType<KotlinCompile>().configureEach {
|
|
kotlinOptions {
|
|
freeCompilerArgs += listOf(
|
|
"-opt-in=kotlin.ExperimentalStdlibApi",
|
|
)
|
|
}
|
|
}
|