Skip to content

Commit 8908d18

Browse files
Migrate Compose compiler
1 parent 4834e8a commit 8908d18

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ plugins {
66
alias(libs.plugins.kotlin.android)
77
alias(libs.plugins.kotlin.ksp)
88
alias(libs.plugins.kotlin.parcelize)
9+
alias(libs.plugins.compose.compiler)
910
alias(libs.plugins.detekt)
1011
alias(libs.plugins.android.junit5)
1112
}
@@ -85,9 +86,6 @@ android {
8586
@Suppress("SuspiciousCollectionReassignment")
8687
freeCompilerArgs += listOf("-Xopt-in=kotlin.RequiresOptIn")
8788
}
88-
composeOptions {
89-
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
90-
}
9189
compileOptions {
9290
sourceCompatibility = JavaVersion.VERSION_11
9391
targetCompatibility = JavaVersion.VERSION_11

gradle/libs.versions.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ modernandroidpreferences = "2.4.0-beta2"
3232
compose = "1.6.8"
3333
compose-foundation = "1.6.8"
3434
compose-material = "1.6.8"
35-
compose-compiler = "1.5.14"
3635

3736
# Network
3837
jellyfin-sdk = "1.4.7"
@@ -66,6 +65,7 @@ android-app = { id = "com.android.application", version.ref = "android-plugin" }
6665
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
6766
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
6867
kotlin-ksp = { id = "com.google.devtools.ksp", version.ref = "kotlin-ksp" }
68+
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
6969
android-junit5 = { id = "de.mannodermaus.android-junit5", version.ref = "android-junit5" }
7070
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
7171

@@ -99,7 +99,6 @@ androidx-webkit = { group = "androidx.webkit", name = "webkit", version.ref = "a
9999
modernandroidpreferences = { group = "de.maxr1998", name = "modernandroidpreferences", version.ref = "modernandroidpreferences" }
100100

101101
# Compose
102-
compose-compiler = { module = "androidx.compose.compiler:compiler", version.ref = "compose-compiler" }
103102
compose-runtime = { group = "androidx.compose.runtime", name = "runtime", version.ref = "compose" }
104103
compose-ui = { group = "androidx.compose.ui", name = "ui", version.ref = "compose" }
105104
compose-animation = { group = "androidx.compose.animation", name = "animation", version.ref = "compose" }

0 commit comments

Comments
 (0)