Resolve duplicated dependencies & unused & older jdk
This commit is contained in:
parent
607e7c675d
commit
c69144fac2
1 changed files with 15 additions and 17 deletions
|
|
@ -8,7 +8,7 @@ plugins {
|
|||
alias(libs.plugins.androidApplication)
|
||||
alias(libs.plugins.composeMultiplatform)
|
||||
alias(libs.plugins.composeCompiler)
|
||||
alias(libs.plugins.composeHotReload)
|
||||
//alias(libs.plugins.composeHotReload)
|
||||
alias(libs.plugins.kotlinSerialization)
|
||||
}
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ kotlin {
|
|||
implementation("androidx.camera:camera-lifecycle:1.5.2")
|
||||
}
|
||||
commonMain.dependencies {
|
||||
implementation(compose.components.resources)
|
||||
// implementation(compose.components.resources)
|
||||
implementation(compose.runtime)
|
||||
implementation(compose.foundation)
|
||||
implementation(compose.material3)
|
||||
|
|
@ -68,23 +68,16 @@ kotlin {
|
|||
implementation(libs.androidx.lifecycle.runtimeCompose)
|
||||
implementation(libs.koin.core) // Koin core for shared logic
|
||||
implementation(libs.koin.compose) // Koin for Compose Multiplatform UI
|
||||
implementation(libs.koin.core.viewmodel) // Koin for KMP ViewModels
|
||||
implementation(libs.core) // Dépendance sous-jacente pour XML
|
||||
implementation(libs.serialization)
|
||||
api(libs.kmp.observableviewmodel.core)
|
||||
implementation(libs.koin.compose.viewmodel) // Koin for KMP ViewModels
|
||||
|
||||
implementation(libs.kotlinx.serialization.json)
|
||||
implementation(libs.androidx.material3)
|
||||
implementation(libs.koin.compose)
|
||||
implementation(libs.koin.compose.viewmodel)
|
||||
implementation(libs.koin.compose.viewmodel.navigation)
|
||||
implementation(libs.bundles.voyager)
|
||||
implementation(libs.cafe.voyager.koin)
|
||||
implementation(libs.androidx.material.icons.extended)
|
||||
implementation(kotlin("stdlib-jdk8"))
|
||||
implementation(compose.desktop.currentOs)
|
||||
implementation(compose.materialIconsExtended)
|
||||
//implementation(kotlin("stdlib-jdk8"))
|
||||
//implementation("org.jetbrains.compose.foundation:foundation-desktop")
|
||||
implementation("com.russhwolf:multiplatform-settings-no-arg:1.3.0")
|
||||
|
||||
implementation("io.github.pdvrieze.xmlutil:serialization:0.91.3") // Dépendance sous-jacente pour XML
|
||||
//implementation(libs.ktmidi)
|
||||
}
|
||||
commonTest.dependencies {
|
||||
|
|
@ -144,9 +137,14 @@ compose.desktop {
|
|||
mainClass = "mg.dot.feufaro.MainKt"
|
||||
|
||||
nativeDistributions {
|
||||
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
||||
packageName = "mg.dot.feufaro"
|
||||
targetFormats(TargetFormat.Exe, TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
||||
packageName = "Feufaro"
|
||||
packageVersion = "1.0.0"
|
||||
modules("java.base", "java.desktop", "jdk.unsupported", "java.naming")
|
||||
|
||||
buildTypes.release.proguard {
|
||||
isEnabled.set(false)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue