Skip to content

Commit

Permalink
Update Dependencies and Migrate to Kotlin 2 (#1765)
Browse files Browse the repository at this point in the history
Corrections/edits and reviews always welcomed.

Migrate to Kotlin 2
Updated dependencies
Refreshed lock files
  • Loading branch information
CanerKaraca23 authored May 25, 2024
1 parent d686016 commit dc23370
Show file tree
Hide file tree
Showing 7 changed files with 267 additions and 221 deletions.
7 changes: 2 additions & 5 deletions manager/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import com.android.build.gradle.internal.api.BaseVariantOutputImpl
plugins {
alias(libs.plugins.agp.app)
alias(libs.plugins.kotlin)
alias(libs.plugins.compose.compiler)
alias(libs.plugins.ksp)
alias(libs.plugins.lsplugin.apksign)
id("kotlin-parcelize")
Expand Down Expand Up @@ -39,10 +40,6 @@ android {
jvmTarget = "21"
}

composeOptions {
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
}

packaging {
jniLibs {
useLegacyPackaging = true
Expand Down Expand Up @@ -116,4 +113,4 @@ dependencies {

implementation(libs.markdown)
implementation(libs.androidx.webkit)
}
}
1 change: 1 addition & 0 deletions manager/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ plugins {
alias(libs.plugins.agp.app) apply false
alias(libs.plugins.agp.lib) apply false
alias(libs.plugins.kotlin) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.lsplugin.cmaker)
}

Expand Down
10 changes: 5 additions & 5 deletions manager/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[versions]
agp = "8.4.0"
kotlin = "1.9.23"
ksp = "1.9.23-1.0.20"
compose-compiler = "1.5.11"
agp = "8.4.1"
kotlin = "2.0.0"
ksp = "2.0.0-1.0.21"
compose-bom = "2024.05.00"
lifecycle = "2.8.0"
accompanist = "0.34.0"
Expand All @@ -25,6 +24,7 @@ agp-app = { id = "com.android.application", version.ref = "agp" }
agp-lib = { id = "com.android.library", version.ref = "agp" }

kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }

ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }

Expand Down Expand Up @@ -75,4 +75,4 @@ sheet-compose-dialogs-core = { group = "com.maxkeppeler.sheets-compose-dialogs",
sheet-compose-dialogs-list = { group = "com.maxkeppeler.sheets-compose-dialogs", name = "list", version.ref = "sheets-compose-dialogs" }
sheet-compose-dialogs-input = { group = "com.maxkeppeler.sheets-compose-dialogs", name = "input", version.ref = "sheets-compose-dialogs" }

markdown = { group = "io.noties.markwon", name = "core", version.ref = "markdown" }
markdown = { group = "io.noties.markwon", name = "core", version.ref = "markdown" }
Loading

0 comments on commit dc23370

Please sign in to comment.