-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
45 lines (39 loc) · 1.82 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 {
repositories {
gradlePluginPortal()
maven("https://repo.papermc.io/repository/maven-public/")
}
}
plugins {
// Apply the foojay-resolver plugin to allow automatic download of JDKs
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
dependencyResolutionManagement {
repositories {
mavenCentral()
maven(url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots/") // Spigot API
maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots/") // Adventure Snapshots
maven(url = "https://libraries.minecraft.net/") // Brigadier, GameProfile
maven(url = "https://repo.extendedclip.com/content/repositories/placeholderapi/") // PlaceholderAPI
maven(url = "https://jitpack.io") // Vault
maven(url = "https://maven.enginehub.org/repo/") // WorldGuard
maven(url = "https://mvn.lumine.io/repository/maven-public/") // MythicMobs
maven(url = "https://repo.opencollab.dev/main/") // GeyserMC
maven(url = "https://repo.jeff-media.com/public/") // SpigotUpdateChecker
maven(url = "https://repo.codemc.org/repository/maven-public/") // NBTAPI from CommandAPI
maven(url = "https://repo.codemc.io/repository/maven-releases/") // PacketEvents
}
}
rootProject.name = "MechanicsCore"
include("mechanicscore-build")
include("mechanicscore-core")
file("./mechanicscore-hooks").listFiles()?.filter { it.isDirectory }?.forEach { subDir ->
val subProjectName = subDir.name
include(":$subProjectName")
project(":$subProjectName").projectDir = subDir
}
file("./mechanicscore-platforms/paper").listFiles()?.filter { it.isDirectory }?.forEach { subDir ->
val subProjectName = subDir.name
include(":$subProjectName")
project(":$subProjectName").projectDir = subDir
}