Replace 20 separate mc-* submodules and common module with a single Stonecutter-managed source tree using preprocessor comments. This eliminates massive code duplication while preserving all version-specific behavior across 1.19.4 through 1.21.11. Co-Authored-By: Claude Opus 4.6 <[email protected]>
24 lines
569 B
Kotlin
24 lines
569 B
Kotlin
pluginManagement {
|
|
repositories {
|
|
maven("https://maven.fabricmc.net/")
|
|
maven("https://maven.kikugie.dev/releases")
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id("dev.kikugie.stonecutter") version "0.8.3"
|
|
}
|
|
|
|
stonecutter {
|
|
create(rootProject) {
|
|
versions(
|
|
"1.19.4", "1.20", "1.20.1", "1.20.2", "1.20.3", "1.20.4",
|
|
"1.20.5", "1.20.6",
|
|
"1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4",
|
|
"1.21.5", "1.21.6", "1.21.7",
|
|
"1.21.8", "1.21.9", "1.21.10", "1.21.11"
|
|
)
|
|
}
|
|
}
|