-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
157 lines (137 loc) Β· 3.37 KB
/
build.gradle
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
subprojects {
apply plugin: "java"
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
java.withSourcesJar()
tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
it.options.release = 17
}
tasks.withType(GenerateModuleMetadata) {
//This shit is broke
enabled = false
}
processResources {
inputs.property "version", project.version
filesMatching(["**/fabric.mod.json", "**/mods.toml"]) {
expand "version": project.version
}
//Random things that might get left around if I'm sloppy.
exclude("**/*.bat", "**/*.psd", "**/*.exe", "**/*.kra", "**/*.ase")
//Anything explicitly marked unused.
exclude("**/unused")
//Vanilla datagenerator .cache file.
//NB: This also fixes processResources blowing up with DuplicatedHandlingStrategy stuff
//when merging the loader-specific jar with the Common jars
exclude(".cache")
}
dependencies {
//This mf keeps disappearing on me
implementation "org.jetbrains:annotations:16.0.2"
}
repositories {
//Spongfrog
maven {
name = "spunchbob"
url = "https://repo.spongepowered.org/repository/maven-public/"
content {
includeGroup "org.spongepowered"
}
}
//botania-xplat, botania-fabric, patchouli, CraftTweaker
maven {
name = "Jared"
url = "https://maven.blamejared.com/"
content {
includeGroup "vazkii.botania"
includeGroup "vazkii.patchouli"
includeGroup "com.blamejared.crafttweaker"
}
}
//Fiber
maven {
name = "modmuss50"
url = "https://maven.modmuss50.me"
content {
includeGroup "me.zeroeightsix"
}
}
//Cardinal Components
maven {
name = "Ladysnake"
url = "https://ladysnake.jfrog.io/artifactory/mods"
content {
includeGroup "io.github.onyxstudios.Cardinal-Components-API"
includeGroup "dev.onyxstudios.cardinal-components-api" //i guess they moved it
}
}
//Trinkets
maven {
name = "Terraformers"
url = "https://maven.terraformersmc.com/"
content {
includeGroup "dev.emi"
//At the moment, required to pick up Mod Menu
// https://github.com/emilyploszaj/trinkets/issues/159
includeGroup "com.terraformersmc"
}
}
//Reach Entity Attributes
maven {
name = "jamieswhiteshirt"
url = "https://maven.jamieswhiteshirt.com/libs-release/"
content {
includeGroup "com.jamieswhiteshirt"
}
}
//Step Height Entity Attribute
maven {
name = "jitpack :("
url = "https://jitpack.io"
content {
includeGroup "com.github.emilyploszaj"
}
}
//Roughly Enough Items and friends (someone includes this transitively)
maven {
name = "shedaniel"
url = "https://maven.shedaniel.me"
content {
includeGroup "me.shedaniel"
includeGroup "me.shedaniel.cloth"
includeGroup "dev.architectury"
}
}
//JEI
maven {
name = "progwml6"
url = "https://dvs1.progwml6.com/files/maven"
content {
includeGroup "mezz.jei"
}
}
//Curios
maven {
name = "theillusivec4"
url = "https://maven.theillusivec4.top/"
content {
includeGroup "top.theillusivec4.curios"
}
}
//Ears
maven {
name = "Sleeping Town"
url = "https://repo.sleeping.town"
content {
includeGroup "com.unascribed"
}
}
// Various stuff, including some botania transitive deps
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
content {
includeGroup "maven.modrinth"
}
}
}
}