Deploy / Build (push) Skipped
Pull Request Build / Build (pull_request) Failing after 17s
21 lines
541 B
Kotlin
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")
|
|
}
|