// Standalone build — deliberately NOT part of the root multi-project build (see the root // settings.gradle's comment): ModDevGradle needs Gradle 8+ and a Java 25 toolchain, incompatible // with the two legacy leaves' Gradle-7/JDK-8-daemon pin within one Gradle invocation. Build this // leaf from inside this directory, with its own wrapper: // // cd neoforge-26_1 && ./gradlew build // // The Gradle daemon itself can run on any modern JDK on PATH/JAVA_HOME (8.14.x supports up to // JDK 23 as the *daemon* JVM) — it does not need to already be JDK 25. The Foojay resolver below // lets Gradle auto-provision an actual JDK 25 toolchain (into its own GRADLE_USER_HOME cache, not // a system-wide install) for the compile/run tasks that require Minecraft's own Java 25 // requirement, without needing one pre-installed. pluginManagement { repositories { gradlePluginPortal() maven { url = 'https://maven.neoforged.net/releases' } mavenCentral() } } plugins { id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0' } rootProject.name = 'neoforge-26_1'