chore(build): remove buildSrc and enforce stable kotlinx-serialization-json version
- Deleted `buildSrc` directory to streamline the build script structure. - Enforced stable `kotlinx-serialization-json:1.7.3` version to resolve dependency resolution issues.
This commit is contained in:
+9
-4
@@ -12,9 +12,6 @@ plugins {
|
|||||||
// Version management plugin for dependency updates
|
// Version management plugin for dependency updates
|
||||||
id("com.github.ben-manes.versions") version "0.51.0"
|
id("com.github.ben-manes.versions") version "0.51.0"
|
||||||
|
|
||||||
// Custom convention plugins
|
|
||||||
id("at.mocode.bundle-budget") apply false // Apply to root, but a task runs on subprojects
|
|
||||||
|
|
||||||
// Kotlin plugins declared here with 'apply false' to centralize version management
|
// Kotlin plugins declared here with 'apply false' to centralize version management
|
||||||
// This prevents "plugin loaded multiple times" errors in Gradle 9.2.1+
|
// This prevents "plugin loaded multiple times" errors in Gradle 9.2.1+
|
||||||
// Subprojects apply these plugins via version catalog: alias(libs.plugins.kotlinJvm)
|
// Subprojects apply these plugins via version catalog: alias(libs.plugins.kotlinJvm)
|
||||||
@@ -37,7 +34,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ##################################################################
|
// ##################################################################
|
||||||
// ### ALL-PROJECTS CONFIGURATION ###
|
// ### ALLPROJECTS CONFIGURATION ###
|
||||||
// ##################################################################
|
// ##################################################################
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
@@ -83,6 +80,14 @@ subprojects {
|
|||||||
// The agent configuration was causing Task.project access at execution time
|
// The agent configuration was causing Task.project access at execution time
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Erzwinge eine stabile Version von kotlinx-serialization-json für alle Konfigurationen,
|
||||||
|
// um Auflösungsfehler (z.B. 1.10.2, nicht verfügbar auf Maven Central) zu vermeiden
|
||||||
|
configurations.configureEach {
|
||||||
|
resolutionStrategy {
|
||||||
|
force("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Dedicated performance test task per JVM subproject
|
// Dedicated performance test task per JVM subproject
|
||||||
plugins.withId("java") {
|
plugins.withId("java") {
|
||||||
val javaExt = extensions.getByType<JavaPluginExtension>()
|
val javaExt = extensions.getByType<JavaPluginExtension>()
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
plugins {
|
|
||||||
`kotlin-dsl`
|
|
||||||
}
|
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
implementation(gradleApi())
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user