-
Notifications
You must be signed in to change notification settings - Fork 18
/
settings.gradle.kts
45 lines (41 loc) · 1.29 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
pluginManagement {
includeBuild("build-logic")
repositories {
maven(url = "https://repo.stellardrift.ca/repository/internal/") {
name = "stellardriftReleases"
mavenContent { releasesOnly() }
}
maven(url = "https://repo.stellardrift.ca/repository/snapshots/") {
name = "stellardriftSnapshots"
mavenContent { snapshotsOnly() }
}
gradlePluginPortal()
maven("https://repo.jpenilla.xyz/snapshots")
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://oss.sonatype.org/content/repositories/snapshots")
maven("https://us-maven.pkg.dev/moonsworth-299m4oir/maven-public")
mavenCentral()
mavenLocal()
}
}
rootProject.name = "apollo-parent"
val mcVersion = startParameter.projectProperties["mc"]
val loadAllVersions = mcVersion == null
listOfNotNull(
"extra:loader",
"extra:adventure4",
"api",
"common",
"bukkit",
"bukkit-example",
if (loadAllVersions) "bungee" else null,
if (loadAllVersions) "velocity" else null
).forEach {
include(it)
findProject(":$it")?.name = "apollo-${it.replace(':', '-')}"
}