forked from oraxen/oraxen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
60 lines (53 loc) · 1.32 KB
/
settings.gradle.kts
File metadata and controls
60 lines (53 loc) · 1.32 KB
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
57
58
59
60
rootProject.name = "oraxen"
val isCI = System.getenv("CI") != null
pluginManagement {
repositories {
gradlePluginPortal()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://repo.mineinabyss.com/releases")
}
}
plugins {
// allows for better class redefinitions with run-paper
id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
}
dependencyResolutionManagement {
// repositories {
// maven("https://repo.mineinabyss.com/releases")
// maven("https://repo.mineinabyss.com/snapshots")
// mavenLocal()
// }
versionCatalogs {
create("oraxenLibs") {
from(files("gradle/oraxenLibs.versions.toml"))
}
}
}
// Core and Paper NMS modules (always included)
include(
"core",
"v1_20_R1",
"v1_20_R2",
"v1_20_R3",
"v1_20_R4",
"v1_21_R1",
"v1_21_R2",
"v1_21_R3",
"v1_21_R4",
"v1_21_R5",
"v1_21_R6_old",
"v1_21_R6"
)
// Spigot NMS modules (excluded in CI - requires BuildTools to install Spigot artifacts to local Maven)
if (!isCI) {
include(
"v1_20_R4_spigot",
"v1_21_R1_spigot",
"v1_21_R2_spigot",
"v1_21_R3_spigot",
"v1_21_R4_spigot",
"v1_21_R5_spigot",
"v1_21_R6_old_spigot",
"v1_21_R6_spigot"
)
}