Skip to content

Commit

Permalink
Kotlin 2.0.0-RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
drewhamilton committed Apr 29, 2024
1 parent da0a56c commit 6a085c1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.plugins.AppliedPlugin
import org.gradle.kotlin.dsl.buildConfigField
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
import org.jetbrains.kotlin.gradle.dsl.KotlinTopLevelExtensionConfig
import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask

private val Project.pokoGroupId get() = property("PUBLISH_GROUP") as String
private val Project.pokoVersion get() = property("PUBLISH_VERSION") as String
Expand All @@ -31,8 +31,8 @@ class PokoBuildPlugin : Plugin<Project> {
}

private fun commonKotlinConfiguration(project: Project) {
project.tasks.withType(KotlinCompile::class.java).configureEach {
kotlinOptions.freeCompilerArgs += "-progressive"
project.tasks.withType(KotlinCompilationTask::class.java).configureEach {
compilerOptions.freeCompilerArgs.add("-progressive")
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]

androidx-compose-runtime = "1.6.6"
kotlin = "2.0.0-RC1"
kotlin = "2.0.0-RC2"
kotlinCompileTesting = "1.5.1"
kotlinCompileTestingFork = "0.5.0-alpha07"
# https://github.com/google/ksp/releases:
Expand Down
5 changes: 0 additions & 5 deletions sample/compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ if (jvmToolchainLanguageVersion != null) {
}
}

composeCompiler {
// https://youtrack.jetbrains.com/issue/KT-67216
suppressKotlinVersionCompatibilityCheck = libs.versions.kotlin
}

android {
namespace = "dev.drewhamilton.poko.sample.compose"
compileSdk = 33
Expand Down

0 comments on commit 6a085c1

Please sign in to comment.