Files
ViaAxiom/settings.gradle.kts
T
Jakob Schulz f373e3d6d9
Deploy / Build (push) Skipped
Pull Request Build / Build (pull_request) Failing after 17s
Add ViaAxiom
2026-11-01 15:30:21 +01:00

21 lines
541 B
Kotlin

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")
}