refactor: centralize common dependencies in build-logic module
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user