build: remove browser configuration from core modules to fix JS plugin conflict

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.
This commit is contained in:
2026-02-02 17:10:47 +01:00
parent 11c597f147
commit 25f40567c7
10 changed files with 67 additions and 39 deletions
+1 -5
View File
@@ -12,11 +12,7 @@ kotlin {
js(IR) {
binaries.library()
browser {
testTask {
enabled = false
}
}
// browser {} block removed to fix "Plugin loaded multiple times" error.
}
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class)