2021-09-06 17:35:04 +00:00
|
|
|
rootProject.name = "Boosters"
|
|
|
|
|
|
|
|
|
|
include(":plugin")
|
|
|
|
|
include(":velocity")
|
|
|
|
|
|
|
|
|
|
dependencyResolutionManagement {
|
|
|
|
|
repositories {
|
2022-09-09 19:35:35 +00:00
|
|
|
// mavenLocal()
|
2021-12-25 17:05:07 +00:00
|
|
|
mavenCentral()
|
|
|
|
|
maven("https://repo.destro.xyz/snapshots") // Altitude - Galaxy
|
|
|
|
|
maven("https://oss.sonatype.org/content/groups/public/") // Adventure
|
2025-06-28 02:05:44 +00:00
|
|
|
maven("https://repo.papermc.io/repo/repository/maven-public/") // Velocity
|
2021-12-25 17:05:07 +00:00
|
|
|
maven("https://repo.spongepowered.org/maven") // Configurate
|
|
|
|
|
maven("https://nexus.neetgames.com/repository/maven-releases/") // mcMMO
|
2022-09-09 19:35:35 +00:00
|
|
|
// maven("https://maven.enginehub.org/repo/") // worldguard
|
2021-12-25 17:05:07 +00:00
|
|
|
maven { // mypet
|
|
|
|
|
name = "GitHubPackages"
|
|
|
|
|
url = uri("https://maven.pkg.github.com/MyPetORG/MyPet")
|
2025-06-28 21:03:33 +00:00
|
|
|
credentials {
|
|
|
|
|
username = providers.gradleProperty("GitHubPackagesUsername").orNull
|
|
|
|
|
password = providers.gradleProperty("GitHubPackagesPassword").orNull
|
|
|
|
|
}
|
2021-09-06 17:35:04 +00:00
|
|
|
}
|
2021-12-25 17:05:07 +00:00
|
|
|
|
2021-09-06 17:35:04 +00:00
|
|
|
}
|
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pluginManagement {
|
|
|
|
|
repositories {
|
|
|
|
|
gradlePluginPortal()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Unsure if API is required in this project
|
|
|
|
|
setupSubproject("boosters-api") {
|
|
|
|
|
projectDir = file("api")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
inline fun setupSubproject(name: String, block: ProjectDescriptor.() -> Unit) {
|
|
|
|
|
include(name)
|
|
|
|
|
project(":$name").apply(block)
|
|
|
|
|
}
|