57 lines
1.8 KiB
Plaintext
57 lines
1.8 KiB
Plaintext
rootProject.name = "Boosters"
|
|
|
|
val nexusUser = providers.gradleProperty("alttdSnapshotUsername").orNull ?: System.getenv("NEXUS_USERNAME")
|
|
val nexusPass = providers.gradleProperty("alttdSnapshotPassword").orNull ?: System.getenv("NEXUS_PASSWORD")
|
|
|
|
include(":plugin")
|
|
include(":velocity")
|
|
|
|
dependencyResolutionManagement {
|
|
repositories {
|
|
// mavenLocal()
|
|
mavenCentral()
|
|
maven {
|
|
url = uri("https://repo.alttd.com/repository/alttd-snapshot/")
|
|
credentials {
|
|
username = nexusUser
|
|
password = nexusPass
|
|
}
|
|
}
|
|
maven {
|
|
url = uri("https://repo.alttd.com/repository/alttd/")
|
|
credentials {
|
|
username = nexusUser
|
|
password = nexusPass
|
|
}
|
|
}
|
|
maven("https://repo.destro.xyz/snapshots") // Altitude - Galaxy
|
|
maven("https://oss.sonatype.org/content/groups/public/") // Adventure
|
|
maven("https://repo.papermc.io/repo/repository/maven-public/") // Velocity
|
|
maven("https://repo.spongepowered.org/maven") // Configurate
|
|
maven("https://nexus.neetgames.com/repository/maven-releases/") // mcMMO
|
|
// maven("https://maven.enginehub.org/repo/") // worldguard
|
|
maven {
|
|
name = "userderezzedRepoSnapshots"
|
|
url = uri("https://repo.userderezzed.dev/snapshots")
|
|
}
|
|
|
|
}
|
|
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)
|
|
}
|