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:
renovate[bot]
2024-06-03 15:50:51 -04:00
committed by GitHub
parent eec63d028c
commit c24acaf03c
2 changed files with 2 additions and 5 deletions

View File

@@ -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]

View File

@@ -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")
}
}