pluginManagement { repositories { maven("https://maven.fabricmc.net/") { name = "Fabric" } gradlePluginPortal() } } rootProject.name = "viaaxiom" include("core", "velocity") val tasks = gradle.startParameter.taskNames val proxyOnly = tasks.isNotEmpty() && tasks.all { it.startsWith(":velocity:") || it.startsWith(":core:") } // Minecraft 26.2 needs Java 25, and Loom sets it up during configuration. if (JavaVersion.current() >= JavaVersion.VERSION_25 && !proxyOnly) { include("fabric") }