ViaBackwards/settings.gradle.kts

45 lines
1.1 KiB
Plaintext
Raw Normal View History

enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
2021-05-29 09:32:55 +02:00
rootProject.name = "viabackwards-parent"
dependencyResolutionManagement {
repositories {
2024-08-16 12:18:05 +02: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
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"
2024-08-08 10:45:56 +02:00
id("com.gradleup.shadow") version "8.3.0"
2021-05-29 09:32:55 +02:00
}
}
includeBuild("build-logic")
2021-02-18 14:34:33 +01:00
setupViaSubproject("common")
setupViaSubproject("bukkit")
setupViaSubproject("velocity")
setupViaSubproject("sponge")
2021-02-18 14:34:33 +01:00
setupViaSubproject("fabric")
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)
}