forked from granny/Pl3xMap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
37 lines (32 loc) · 1017 Bytes
/
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
dependencyResolutionManagement {
repositories {
mavenCentral()
maven("https://repo.pl3x.net/")
maven("https://papermc.io/repo/repository/maven-public/")
maven("https://repo.incendo.org/content/repositories/snapshots/")
maven("https://repo.codemc.org/repository/maven-public/")
maven("https://maven.quiltmc.org/repository/release/") {
mavenContent {
releasesOnly()
includeModule("org.quiltmc", "tiny-remapper")
}
}
mavenLocal()
}
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
}
pluginManagement {
repositories {
gradlePluginPortal()
maven("https://papermc.io/repo/repository/maven-public/")
}
}
rootProject.name = "Pl3xMap"
setupSubproject("pl3xmap-api") {
projectDir = file("api")
}
include(":plugin")
inline fun setupSubproject(name: String, block: ProjectDescriptor.() -> Unit) {
include(name)
project(":$name").apply(block)
}