fix(deps): update kotlin and compose to v1.9.24 (#3043)

* fix(deps): update kotlin and compose to v1.9.24

* fix(deps): upgrade Compose Compiler to 1.5.14-dev-k1.9.24-50022def4af

* fix(build): enable Compose strong skipping

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
renovate[bot] 2024-05-08 22:51:35 +00:00 committed by GitHub
parent 7c585729a0
commit 6d6a27e184
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 6 deletions

View file

@ -30,10 +30,14 @@ class KotlinAndroidPlugin : Plugin<Project> {
val kotlinVersion = libs.versions.kotlin.get()
val matches = COMPOSE_COMPILER_VERSION_REGEX.find(composeCompilerVersion)
if (matches != null) {
val (compilerKotlinVersion) = matches.destructured
if (compilerKotlinVersion != kotlinVersion) {
project.tasks.withType<KotlinCompile>().configureEach {
project.tasks.withType<KotlinCompile>().configureEach {
compilerOptions.freeCompilerArgs.addAll(
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:featureFlag=StrongSkipping",
)
if (matches != null) {
val (compilerKotlinVersion) = matches.destructured
if (compilerKotlinVersion != kotlinVersion) {
compilerOptions.freeCompilerArgs.addAll(
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=$kotlinVersion",

View file

@ -3,11 +3,11 @@ agp = "8.4.0"
androidxActivity = "1.9.0"
bouncycastle = "1.78.1"
# @keep used for kotlinCompilerExtensionVersion
composeCompiler = "1.5.13"
composeCompiler = "1.5.14-dev-k1.9.24-50022def4af"
coroutines = "1.8.1-Beta"
flowbinding = "1.2.0"
hilt = "2.51.1"
kotlin = "1.9.23"
kotlin = "1.9.24"
kotlinResult = "2.0.0"
lifecycle = "2.8.0-rc01"
moshi = "1.15.1"