Check / compile (pull_request) Successful in 8m3s
1.21.6's copy only differed from 1.21.7's in RenderScopeImpl: item rendering uses ItemRenderState, which 1.21.7 renamed to KeyedItemRenderState. That's behind a version comment; 1.21.6 keeps its older loader_version (0.18.5) in its gradle.properties. Moving a version over leaves the old mc-<v> project's compiled classes in the shared build/ folder, so a removed class (1.21.6's dead NameTagMixin) still got packaged until a clean. VERSION_GUIDE now says to run :<v>:clean once after moving a version. Co-Authored-By: Claude Opus 5.5 <[email protected]>
44 lines
1.3 KiB
Kotlin
44 lines
1.3 KiB
Kotlin
pluginManagement {
|
|
repositories {
|
|
maven("https://maven.fabricmc.net/")
|
|
maven("https://maven.kikugie.dev/releases")
|
|
gradlePluginPortal()
|
|
mavenCentral()
|
|
}
|
|
|
|
// Loom's version, for the Stonecutter versions' build.gradle.kts (the old mc-<v> projects set
|
|
// their own in versions/<v>/gradle.properties).
|
|
val loom_version: String by settings
|
|
plugins {
|
|
id("net.fabricmc.fabric-loom-remap") version loom_version
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id("dev.kikugie.stonecutter") version "0.9.8"
|
|
}
|
|
|
|
rootProject.name = "saturn-client"
|
|
|
|
include("common")
|
|
|
|
// Versions built by Stonecutter from the shared src/ (see stonecutter.gradle.kts). Each one's
|
|
// versions/<v>/gradle.properties holds its Minecraft, Yarn and Fabric API versions.
|
|
val stonecutterVersions = listOf("1.21.6", "1.21.7", "1.21.8", "1.21.9", "1.21.10", "1.21.11")
|
|
|
|
stonecutter {
|
|
create(rootProject) {
|
|
versions(stonecutterVersions)
|
|
vcsVersion = "1.21.11"
|
|
}
|
|
}
|
|
|
|
// Versions not moved to Stonecutter yet still build from their own copy in versions/<v>/src,
|
|
// as projects named mc-<v>.
|
|
file("versions").listFiles { file -> file.isDirectory && file.name !in stonecutterVersions }!!
|
|
.sortedBy { it.name }
|
|
.forEach { dir ->
|
|
include("mc-${dir.name}")
|
|
project(":mc-${dir.name}").projectDir = dir
|
|
}
|