3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-20 15:00:09 +01:00
ViaVersion/settings.gradle.kts

48 Zeilen
1.2 KiB
Plaintext

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
2021-05-25 06:58:34 +02:00
dependencyResolutionManagement {
// configures repositories for all projects
repositories {
maven("https://repo.viaversion.com")
maven("https://repo.papermc.io/repository/maven-public/")
2021-05-25 06:58:34 +02:00
mavenCentral()
}
// only use these repos
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
}
pluginManagement {
// default plugin versions
plugins {
id("net.kyori.blossom") version "2.1.0"
2023-09-06 03:20:32 +02:00
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.7"
2024-08-08 10:55:56 +02:00
id("com.gradleup.shadow") version "8.3.0"
2021-05-25 06:58:34 +02:00
}
}
rootProject.name = "viaversion-parent"
includeBuild("build-logic")
setupViaSubproject("api")
setupViaSubproject("common")
setupViaSubproject("bukkit")
setupViaSubproject("bukkit-legacy")
setupViaSubproject("velocity")
setupViaSubproject("fabric")
2021-02-19 01:33:32 +01:00
setupSubproject("viaversion") {
projectDir = file("universal")
}
2021-02-17 14:49:10 +01:00
fun setupViaSubproject(name: String) {
setupSubproject("viaversion-$name") {
projectDir = file(name)
}
}
inline fun setupSubproject(name: String, block: ProjectDescriptor.() -> Unit) {
include(name)
project(":$name").apply(block)
}