forked from oraxen/oraxen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
46 lines (40 loc) · 1.03 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
rootProject.name = "oraxen"
pluginManagement {
repositories {
gradlePluginPortal()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://repo.mineinabyss.com/releases")
}
val idofrontVersion: String by settings
resolutionStrategy {
eachPlugin {
if (requested.id.id.startsWith("com.mineinabyss.conventions"))
useVersion(idofrontVersion)
}
}
}
dependencyResolutionManagement {
val idofrontVersion: String by settings
repositories {
maven("https://repo.mineinabyss.com/releases")
maven("https://repo.mineinabyss.com/snapshots")
mavenLocal()
}
versionCatalogs {
create("libs").from("com.mineinabyss:catalog:$idofrontVersion")
create("oraxenLibs").from(files("gradle/oraxenLibs.versions.toml"))
}
}
include(
"core",
"v1_18_R1",
"v1_18_R2",
"v1_19_R1",
"v1_19_R2",
"v1_19_R3",
"v1_20_R1",
"v1_20_R2",
"v1_20_R3",
"v1_20_R4",
"v1_21_R1",
)