3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-11-05 07:40:18 +01:00
ViaBackwards/settings.gradle.kts

49 Zeilen
1.3 KiB
Plaintext

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
2021-05-29 09:32:55 +02:00
rootProject.name = "viabackwards-parent"
dependencyResolutionManagement {
repositories {
2024-01-24 18:51:06 +01:00
mavenLocal()
2021-05-29 09:32:55 +02:00
maven("https://repo.viaversion.com")
2023-03-02 13:22:16 +01:00
maven("https://repo.papermc.io/repository/maven-public/")
2021-05-29 09:32:55 +02:00
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://repo.spongepowered.org/maven")
mavenCentral()
}
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
}
pluginManagement {
plugins {
2023-09-21 02:35:42 +02:00
id("net.kyori.blossom") version "2.1.0"
2023-09-06 03:30:10 +02:00
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.7"
2023-03-24 11:36:32 +01:00
id("com.github.johnrengelman.shadow") version "8.1.1"
2021-05-29 09:32:55 +02:00
}
}
includeBuild("build-logic")
2021-02-18 14:34:33 +01:00
setupViaSubproject("common")
setupViaSubproject("bukkit")
setupViaSubproject("bungee")
setupViaSubproject("velocity")
setupViaSubproject("sponge")
setupViaSubproject("fabric")
2023-10-18 06:56:44 +02:00
setupViaSubproject("template")
2021-02-23 11:29:18 +01:00
setupSubproject("viabackwards") {
projectDir = file("universal")
}
2021-02-18 14:34:33 +01:00
fun setupViaSubproject(name: String) {
setupSubproject("viabackwards-$name") {
projectDir = file(name)
}
}
inline fun setupSubproject(name: String, block: ProjectDescriptor.() -> Unit) {
include(name)
project(":$name").apply(block)
}