refactor: centralize common dependencies in build-logic module

This commit is contained in:
2026-07-03 09:58:18 +02:00
parent 4d397ac5e8
commit a8bdc26e3c
8 changed files with 9 additions and 62 deletions
-11
View File
@@ -17,17 +17,6 @@ kotlin {
// Desktop audio: Ogg Vorbis SPI so javax.sound.sampled can decode .ogg
implementation(libs.vorbisspi)
}
commonMain.dependencies {
// Models (exposed through AudioPlayer's public API)
// api(projects.core.model)
// Coroutines
implementation(libs.kotlinx.coroutinesCore)
// DI
implementation(project.dependencies.platform(libs.koin.bom))
implementation(libs.koin.core)
}
// webMain is the js + wasmJs intermediate source set from the default hierarchy template.
webMain.dependencies {
// Browser audio (HTMLAudioElement, document) for js + wasmJs
-11
View File
@@ -6,15 +6,4 @@ kotlin {
androidLibrary {
namespace = "fr.ajaury.gwenedeg.core.coroutines"
}
sourceSets {
commonMain.dependencies {
// Coroutines
implementation(libs.kotlinx.coroutinesCore)
// DI
implementation(project.dependencies.platform(libs.koin.bom))
implementation(libs.koin.core)
}
}
}