forked from jpenilla/squaremap-addons
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
56 lines (51 loc) · 1.47 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
46
47
48
49
50
51
52
53
54
55
56
dependencyResolutionManagement {
repositories {
mavenCentral()
maven("https://papermc.io/repo/repository/maven-public/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") {
mavenContent {
snapshotsOnly()
includeGroup("xyz.jpenilla")
}
}
maven("https://maven.enginehub.org/repo/") {
mavenContent {
includeGroup("com.sk89q")
includeGroupByRegex("com\\.sk89q\\..*")
}
}
maven("https://repo.essentialsx.net/releases/") {
mavenContent {
includeGroup("net.essentialsx")
}
}
maven("https://jitpack.io/") {
mavenContent {
includeGroupByRegex("com\\.github\\..*")
}
}
}
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
}
rootProject.name = "squaremap-addons"
include(":common")
includeAddon("signs")
includeAddon("mobs")
includeAddon("worldguard")
includeAddon("essentialsx")
includeAddon("deathspot")
includeAddon("skins")
includeAddon("griefprevention")
includeAddon("claimchunk")
includeAddon("banners")
includeAddon("vanish")
fun includeAddon(addonName: String) {
val name = "squaremap-$addonName"
include(name)
project(":$name").apply {
projectDir = file("addons/$addonName")
}
}