diff --git a/build.gradle.kts b/build.gradle.kts index 1473e53..8da1746 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -66,7 +66,7 @@ tasks.withType().configureEach { tasks.withType().configureEach { jvmTarget = libs.versions.jvmTarget.get() } tasks.withType().configureEach { - outputDirectory.set(rootDir.resolve("../docs/0.x")) + outputDirectory.set(rootProject.layout.projectDirectory.dir("docs/2.x")) dokkaSourceSets.configureEach { skipDeprecated.set(true) } } diff --git a/gradle.properties b/gradle.properties index 9a6ad03..1d41e20 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,7 +12,7 @@ org.gradle.configuration-cache=true moshix.generateProguardRules=false # Use new K2 UAST for lint -android.lint.useK2Uast=true +android.lint.useK2Ugast=true android.experimental.lint.missingBaselineIsEmptyBaseline=true # Use KSP2 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4d6e3eb..252949e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] -kotlin = "2.0.0-RC3" +kotlin = "2.0.0" kotlinx-serialization = "1.6.3" -ksp = "2.0.0-RC3-1.0.20" +ksp = "2.0.0-1.0.21" ktfmt = "0.49" jvmTarget = "17" moshix = "0.27.0-alpha01" @@ -12,14 +12,14 @@ xmlutil = "0.86.3" [plugins] detekt = { id = "io.gitlab.arturbosch.detekt", version = "1.23.6" } dokka = { id = "org.jetbrains.dokka", version = "1.9.20" } -lint = { id = "com.android.lint", version = "8.5.0-beta01" } +lint = { id = "com.android.lint", version = "8.6.0-alpha02" } mavenPublish = { id = "com.vanniktech.maven.publish", version = "0.28.0" } moshix = { id = "dev.zacsweers.moshix", version.ref = "moshix" } kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } spotless = { id = "com.diffplug.spotless", version = "6.25.0" } -binaryCompatibilityValidator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version = "0.14.0" } +binaryCompatibilityValidator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version = "0.15.0-Beta.2" } retry = { id = "org.gradle.test-retry", version = "1.5.9" } [libraries]