chore(infra+frontend): upgrade Gradle to 9.3.1 and fix KMP plugin conflicts in Docker builds
- Updated Gradle version in `.env`, Dockerfiles, and wrapper to 9.3.1. - Replaced alias-based application of `kotlinMultiplatform` plugin with direct `id` usage in subprojects to resolve "Plugin loaded multiple times" error. - Applied centralized plugin management and Gradle daemon optimizations to improve Docker build stability and address KMP classloading issues.
This commit is contained in:
@@ -71,3 +71,7 @@ enableWasm=false
|
||||
# See https://kotl.in/dokka-gradle-migration
|
||||
# org.jetbrains.dokka.experimental.gradle.pluginMode=V2EnabledWithHelpers
|
||||
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
|
||||
|
||||
# Workaround for Gradle 9 / KMP "Plugin loaded multiple times" error in Docker/CI
|
||||
# This allows subprojects to re-declare plugins even if they are already on the classpath
|
||||
kotlin.mpp.allowMultiplePluginDeclarations=true
|
||||
|
||||
Reference in New Issue
Block a user