Check / compile (pull_request) Successful in 7m8s
Step 3 of #8. 1.21.9's copy was identical to the old 1.21.10 one, so the existing version comments already cover it and no code changes: 1.21.9 is added to stonecutterVersions and versions/1.21.9/src is removed. Like 1.21.10 in step 2, 1.21.9 now renders hats (1.21.11's render-queue implementation) and gets the display-name null check. The jar has the same entries, fabric.mod.json and mixin configs as before; only those classes and ShaderUtils's entityAlpha helper differ in bytecode. 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.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
|
|
}
|