-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
110 lines (104 loc) · 2.18 KB
/
Copy pathsettings.gradle.kts
File metadata and controls
110 lines (104 loc) · 2.18 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
pluginManagement {
val isCI = System.getenv("CI") != null
repositories {
gradlePluginPortal()
if (!isCI) {
maven("http://rpi5.local:8080/Fabric") {
name = "Fabric"
isAllowInsecureProtocol = true
}
maven("http://rpi5.local:8080/Maven-Central") {
name = "MavenCentral"
isAllowInsecureProtocol = true
}
maven("http://rpi5.local:8080/REI") {
name = "piREI"
isAllowInsecureProtocol = true
}
} else {
mavenCentral()
maven("https://maven.fabricmc.net") {
name = "Fabric"
}
}
maven("https://maven.kikugie.dev/snapshots") {
name = "KikuGie Snapshots"
}
}
}
plugins {
id("dev.kikugie.stonecutter") version "0.9"
}
dependencyResolutionManagement {
val isCI = System.getenv("CI") != null
repositories {
maven("https://libraries.minecraft.net") {
name = "Mojang"
content {
includeGroup("org.lwjgl")
includeGroup("net.minecraft")
includeGroup("com.mojang")
}
}
if (!isCI) {
maven("http://rpi5.local:8080/Fabric") {
name = "piFabric"
isAllowInsecureProtocol = true
content {
includeGroupByRegex("net\\.fabricmc.*")
}
}
maven("http://rpi5.local:8080/REI") {
name = "piREI"
isAllowInsecureProtocol = true
content {
includeGroupByRegex("me\\.shedaniel.*")
includeGroupByRegex("dev\\.architectury.*")
}
}
maven("http://rpi5.local:8080/Maven-Central") {
name = "piMavenCentral"
isAllowInsecureProtocol = true
}
}
maven("https://maven.fabricmc.net/") {
name = "Fabric"
}
maven("https://maven.shedaniel.me")
mavenCentral()
maven(".gradle/loom-cache/remapped_mods") {
name = "LoomRemappedMods"
content {
includeGroupByRegex("remapped.*")
}
}
maven(".gradle/loom-cache/minecraftMaven") {
name = "LoomMinecraftStuff"
content {
includeGroupByRegex("net.minecraft.*")
}
}
}
repositoriesMode = RepositoriesMode.PREFER_SETTINGS
}
stonecutter {
centralScript = "build.gradle.kts"
// Configuration goes here
create(rootProject) {
versions(
"1.21",
"1.21.1",
"1.21.2",
"1.21.3",
"1.21.4",
"1.21.5",
"1.21.6",
"1.21.7",
"1.21.8",
"1.21.9",
"1.21.10",
"1.21.11"
)
vcsVersion = "1.21"
}
}