mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Update kotlinpoet to v1.17.0 (#1761)
* Update kotlinpoet to v1.17.0 * Remove metadata preview --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Zac Sweers <pandanomic@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@ jvmTarget = "1.8"
|
||||
kotlin = "2.0.0"
|
||||
# No 0.5.0 full release yet due to KSP's 1.0.21 release being busted for CLI/programmatic use
|
||||
kotlinCompileTesting = "0.5.0-alpha07"
|
||||
kotlinpoet = "1.14.2"
|
||||
kotlinpoet = "1.17.0"
|
||||
ksp = "2.0.0-1.0.21"
|
||||
|
||||
[plugins]
|
||||
|
@@ -11,10 +11,7 @@ plugins {
|
||||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
compilerOptions {
|
||||
optIn.addAll(
|
||||
"com.squareup.kotlinpoet.metadata.KotlinPoetMetadataPreview",
|
||||
"com.squareup.moshi.kotlin.codegen.api.InternalMoshiCodegenApi",
|
||||
)
|
||||
optIn.add("com.squareup.moshi.kotlin.codegen.api.InternalMoshiCodegenApi")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user