Eliminated `browser {}` blocks from core library modules to resolve "Plugin loaded multiple times" error in Kotlin/JS Gradle builds. Adjusted to support a cleaner, centralized JS target configuration. Documented the root cause and workaround in troubleshooting logs.
29 lines
584 B
Plaintext
29 lines
584 B
Plaintext
/**
|
|
* Dieses Modul definiert nur die Navigationsrouten.
|
|
* Es ist noch simpler.
|
|
*/
|
|
plugins {
|
|
alias(libs.plugins.kotlinMultiplatform)
|
|
}
|
|
|
|
group = "at.mocode.clients.shared"
|
|
version = "1.0.0"
|
|
|
|
kotlin {
|
|
jvm()
|
|
js {
|
|
binaries.library()
|
|
// browser {} block removed to fix "Plugin loaded multiple times" error.
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain.dependencies {
|
|
// Depend on core domain for User/Role types used by navigation API
|
|
implementation(project(":frontend:core:domain"))
|
|
}
|
|
commonTest.dependencies {
|
|
implementation(libs.kotlin.test)
|
|
}
|
|
}
|
|
}
|