pluginManagement { repositories { gradlePluginPortal() maven { url = 'https://maven.minecraftforge.net/' } maven { url = 'https://maven.neoforged.net/releases' } mavenCentral() } } rootProject.name = 'mcmapper-mod' // `common` is not a buildable Gradle subproject — it's shared source, pulled directly into // each leaf's own source set (see common/README.md for why). include 'forge-1_7_10' include 'forge-1_12_2' // neoforge-26_1 is intentionally NOT included in the default build: both legacy leaves // (forge-1_7_10, forge-1_12_2) use anatawa12's ForgeGradle 1.2/2.3 forks, which need Gradle 7.6 // and JDK 8 (see gradle.properties' org.gradle.java.home pin and this project's // gradle-wrapper.properties). ModDevGradle (used by neoforge-26_1) needs Gradle 8+ and a Java 25 // toolchain (Minecraft itself now requires Java 25 as of the 26.x cycle) — incompatible with // that daemon within one invocation. Phase 10 gave it its own standalone build instead: it has // its own wrapper + settings.gradle (with the Foojay toolchain resolver, so Gradle // auto-provisions the JDK 25 toolchain rather than needing one pre-installed) — build it from // inside neoforge-26_1/ directly (`cd neoforge-26_1 && ./gradlew build`), pointing // org.gradle.java.home at a JDK 21+ install for the Gradle daemon itself via a separate // $GRADLE_USER_HOME (same mechanism as the legacy leaves' JDK 8 pin) — see neoforge-26_1's // README section for the full command.