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:
+5
-5
@@ -11,7 +11,7 @@ services:
|
||||
context: .
|
||||
dockerfile: backend/infrastructure/gateway/Dockerfile
|
||||
args:
|
||||
GRADLE_VERSION: "${DOCKER_GRADLE_VERSION:-9.2.1}"
|
||||
GRADLE_VERSION: "${DOCKER_GRADLE_VERSION:-9.3.1}"
|
||||
JAVA_VERSION: "${DOCKER_JAVA_VERSION:-25}"
|
||||
VERSION: "${DOCKER_VERSION:-1.0.0-SNAPSHOT}"
|
||||
BUILD_DATE: "${DOCKER_BUILD_DATE}"
|
||||
@@ -82,7 +82,7 @@ services:
|
||||
context: .
|
||||
dockerfile: backend/services/ping/Dockerfile
|
||||
args:
|
||||
GRADLE_VERSION: "${DOCKER_GRADLE_VERSION:-9.2.1}"
|
||||
GRADLE_VERSION: "${DOCKER_GRADLE_VERSION:-9.3.1}"
|
||||
JAVA_VERSION: "${DOCKER_JAVA_VERSION:-25}"
|
||||
VERSION: "${DOCKER_VERSION:-1.0.0-SNAPSHOT}"
|
||||
BUILD_DATE: "${DOCKER_BUILD_DATE}"
|
||||
@@ -150,7 +150,7 @@ services:
|
||||
# context: .
|
||||
# dockerfile: backend/services/entries/Dockerfile
|
||||
# args:
|
||||
# GRADLE_VERSION: "${DOCKER_GRADLE_VERSION:-9.2.1}"
|
||||
# GRADLE_VERSION: "${DOCKER_GRADLE_VERSION:-9.3.1}"
|
||||
# JAVA_VERSION: "${DOCKER_JAVA_VERSION:-25}"
|
||||
# VERSION: "${DOCKER_VERSION:-1.0.0-SNAPSHOT}"
|
||||
# BUILD_DATE: "${DOCKER_BUILD_DATE}"
|
||||
@@ -196,7 +196,7 @@ services:
|
||||
# context: .
|
||||
# dockerfile: backend/services/results/results-service/Dockerfile
|
||||
# args:
|
||||
# GRADLE_VERSION: "${DOCKER_GRADLE_VERSION:-9.2.1}"
|
||||
# GRADLE_VERSION: "${DOCKER_GRADLE_VERSION:-9.3.1}"
|
||||
# JAVA_VERSION: "${DOCKER_JAVA_VERSION:-25}"
|
||||
# VERSION: "${DOCKER_VERSION:-1.0.0-SNAPSHOT}"
|
||||
# BUILD_DATE: "${DOCKER_BUILD_DATE}"
|
||||
@@ -242,7 +242,7 @@ services:
|
||||
# context: .
|
||||
# dockerfile: backend/services/scheduling/scheduling-service/Dockerfile
|
||||
# args:
|
||||
# GRADLE_VERSION: "${DOCKER_GRADLE_VERSION:-9.2.1}"
|
||||
# GRADLE_VERSION: "${DOCKER_GRADLE_VERSION:-9.3.1}"
|
||||
# JAVA_VERSION: "${DOCKER_JAVA_VERSION:-25}"
|
||||
# VERSION: "${DOCKER_VERSION:-1.0.0-SNAPSHOT}"
|
||||
# BUILD_DATE: "${DOCKER_BUILD_DATE}"
|
||||
|
||||
Reference in New Issue
Block a user