Update kotlin monorepo (#1614)

* Update kotlin monorepo

* Update ksp to v1.8.0-1.0.9

* Lower metadata to 0.5.0

* Update KCT

* Update to compilerOptions

* Suppress deprecation

* Add missing java target too

* Raise it again because it's broken on all

* Kotlin 1.8.20 + updated kotlinpoet

* Update kotlinpoet

* Update kotlin

* Fix KSP equality check for KotlinPoet 1.13.x

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <github@jakewharton.com>
Co-authored-by: Zac Sweers <pandanomic@gmail.com>
This commit is contained in:
renovate[bot]
2023-05-05 18:04:57 -04:00
committed by GitHub
parent bf4b83d1dc
commit c11f0e168c
9 changed files with 48 additions and 41 deletions

View File

@@ -2,6 +2,7 @@ import com.diffplug.gradle.spotless.JavaExtension
import com.vanniktech.maven.publish.MavenPublishBaseExtension
import com.vanniktech.maven.publish.SonatypeHost
import org.jetbrains.dokka.gradle.DokkaTask
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.net.URL
@@ -84,11 +85,9 @@ subprojects {
pluginManager.withPlugin("org.jetbrains.kotlin.jvm") {
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
// TODO re-enable when no longer supporting multiple kotlin versions
// @Suppress("SuspiciousCollectionReassignment")
// freeCompilerArgs += listOf("-progressive")
jvmTarget = libs.versions.jvmTarget.get()
compilerOptions {
freeCompilerArgs.add("-progressive")
jvmTarget.set(JvmTarget.fromTarget(libs.versions.jvmTarget.get()))
}
}