Skip to content

Commit

Permalink
Update kotlin version (#718)
Browse files Browse the repository at this point in the history
Apparently the compose compiler is configured via a plugin now, which means the compatibility issues with the kotlin version don't apply anymore.
  • Loading branch information
chvp authored Oct 5, 2024
1 parent 305eca7 commit 6e5d828
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id('com.google.devtools.ksp')
id('kotlin-android')
id('dagger.hilt.android.plugin')
id('org.jetbrains.kotlin.plugin.compose')
id('org.jlleitschuh.gradle.ktlint')
}

Expand Down Expand Up @@ -36,9 +37,6 @@ android {
targetCompatibility "17"
sourceCompatibility "17"
}
composeOptions {
kotlinCompilerExtensionVersion "1.5.15"
}
kotlinOptions {
jvmTarget = "17"
freeCompilerArgs += [
Expand Down
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
fuel_version = '2.3.1'
glide_version = '4.12.0'
hilt_version = '2.52'
kotlin_version = '1.9.25'
kotlin_version = '2.0.20'
kotlinx_version = '1.9.0'
lifecycle_version = '2.8.6'
media3_version = '1.4.1'
Expand All @@ -31,7 +31,8 @@ buildscript {
}

plugins {
id("com.google.devtools.ksp") version "$kotlin_version-1.0.20" apply false
id('com.google.devtools.ksp') version "$kotlin_version-1.0.25" apply false
id('org.jetbrains.kotlin.plugin.compose') version "$kotlin_version" apply false
}

allprojects {
Expand Down

0 comments on commit 6e5d828

Please sign in to comment.