-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
162 lines (147 loc) · 8.65 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
158
159
160
161
162
plugins {
id 'eclipse'
id 'idea'
id 'net.minecraftforge.gradle' version "${forge_gradle_version}"
id 'org.spongepowered.mixin' version "${mixin_gradle_version}"
}
version = mod_version
group = mod_id
base.archivesName = mod_name
java.toolchain.languageVersion = JavaLanguageVersion.of(8)
minecraft {
mappings channel: mappings_channel, version: mappings_version
}
repositories {
flatDir { dirs 'libs' }
maven { url = 'https://www.cursemaven.com' }
}
dependencies {
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
implementation "org.spongepowered:mixin:${mixin_version}"
annotationProcessor "org.spongepowered:mixin:${mixin_version}:processor"
implementation "io.github.llamalad7:mixinextras-common:${mixin_extras_version}"
implementation fg.deobf("curse.maven:fermiumbooter-${fermiumbooter_version}")
implementation fg.deobf("libs:SRParasites:${srparasites_version}") // Third party distro disabled
implementation fg.deobf("curse.maven:adhooks-${adhooks_version}")
implementation fg.deobf("curse.maven:alcatrazcore-${alcatrazcore_version}")
implementation fg.deobf("curse.maven:arl-${arl_version}")
implementation fg.deobf("curse.maven:astikor-${astikor_version}")
implementation fg.deobf("curse.maven:atlas-${atlas_version}")
implementation fg.deobf("curse.maven:battletowers-${battletowers_version}")
implementation fg.deobf("curse.maven:baubles-${baubles_version}")
implementation fg.deobf("curse.maven:betterfoliage-${betterfoliage_version}")
implementation fg.deobf("curse.maven:betternether-${betternether_version}")
implementation fg.deobf("curse.maven:betterquesting-${betterquesting_version}")
implementation fg.deobf("curse.maven:betterquestingunofficial-${betterquestingunofficial_version}")
implementation fg.deobf("curse.maven:bettersurvival-${bettersurvival_version}")
implementation fg.deobf("curse.maven:bloodmoon-${bloodmoon_version}")
implementation fg.deobf("curse.maven:bop-${bop_version}")
implementation fg.deobf("curse.maven:bountiful-${bountiful_version}")
implementation fg.deobf("curse.maven:bountifulbaubles-${bountifulbaubles_version}")
implementation fg.deobf("curse.maven:bqstandard-${bqstandard_version}")
implementation fg.deobf("curse.maven:carryon-${carryon_version}")
implementation fg.deobf("curse.maven:champions-${champions_version}")
implementation fg.deobf("curse.maven:charm-${charm_version}")
implementation fg.deobf("curse.maven:chunkanimator-${chunkanimator_version}")
implementation fg.deobf("curse.maven:classyhats-${classyhats_version}")
implementation fg.deobf("curse.maven:corpsecomplex-${corpsecomplex_version}")
implementation fg.deobf("curse.maven:creativecore-${creativecore_version}")
implementation fg.deobf("curse.maven:defiled-${defiled_version}")
implementation fg.deobf("curse.maven:disenchanter-${disenchanter_version}")
implementation fg.deobf("curse.maven:doomlike-${doomlike_version}")
implementation fg.deobf("curse.maven:dramatictrees-${dramatictrees_version}")
implementation fg.deobf("curse.maven:dregora-${dregora_version}")
implementation fg.deobf("curse.maven:dshud-${dshud_version}")
implementation fg.deobf("curse.maven:dsurround-${dsurround_version}")
implementation fg.deobf("curse.maven:dummy-${dummy_version}")
implementation fg.deobf("curse.maven:dynamictreesbop-${dynamictreesbop_version}")
implementation fg.deobf("curse.maven:elenai-${elenai_version}")
implementation fg.deobf("curse.maven:endertech-${endertech_version}")
implementation fg.deobf("curse.maven:enhancedvisuals-${enhancedvisuals_version}")
implementation fg.deobf("curse.maven:epicsiegemod-${epicsiegemod_version}")
implementation fg.deobf("curse.maven:fancymenu-${fancymenu_version}")
implementation fg.deobf("curse.maven:fantasticlib-${fantasticlib_version}")
implementation fg.deobf("curse.maven:firstaid-${firstaid_version}")
implementation fg.deobf("curse.maven:fishsundeadrising-${fishsundeadrising_version}")
implementation fg.deobf("curse.maven:foodexpansion-${foodexpansion_version}")
implementation fg.deobf("curse.maven:forgottenitems-${forgottenitems_version}")
implementation fg.deobf("curse.maven:icenfire-${icenfire_version}")
implementation fg.deobf("curse.maven:incontrol-${incontrol_version}")
implementation fg.deobf("curse.maven:infernalmobs-${infernalmobs_version}")
implementation fg.deobf("curse.maven:inspirations-${inspirations_version}")
implementation fg.deobf("curse.maven:itemphysics-${itemphysics_version}")
implementation fg.deobf("curse.maven:jei-${jei_version}")
implementation fg.deobf("curse.maven:jsonpaintings-${jsonpaintings_version}")
implementation fg.deobf("curse.maven:levelup2-${levelup2_version}")
implementation fg.deobf("curse.maven:librarianlib-${librarianlib_version}")
implementation fg.deobf("curse.maven:llibrary-${llibrary_version}")
implementation fg.deobf("curse.maven:locks-${locks_version}")
implementation fg.deobf("curse.maven:lostcity-${lostcity_version}")
implementation fg.deobf("curse.maven:lycanitesmobs-${lycanites_version}")
implementation fg.deobf("curse.maven:mantle-${mantle_version}")
implementation fg.deobf("curse.maven:mobends-${mobends_version}")
implementation fg.deobf("curse.maven:neat-${neat_version}")
implementation fg.deobf("curse.maven:ntp-${ntp_version}")
implementation fg.deobf("curse.maven:orelib-${orelib_version}")
implementation fg.deobf("curse.maven:otg-${otg_version}")
implementation fg.deobf("curse.maven:particleculling-${particleculling_version}")
implementation fg.deobf("curse.maven:potioncore-${potioncore_version}")
implementation fg.deobf("curse.maven:potionrings-${potionrings_version}")
implementation fg.deobf("curse.maven:qualitytools-${qualitytools_version}")
implementation fg.deobf("curse.maven:quark-${quark_version}")
implementation fg.deobf("curse.maven:reachfix-${reachfix_version}")
implementation fg.deobf("curse.maven:reskillable-${reskillable_version}")
implementation fg.deobf("curse.maven:rlcombat-${rlcombat_version}")
implementation fg.deobf("curse.maven:rltweaker-${rltweaker_version}")
implementation fg.deobf("curse.maven:roughtweaks-${roughtweaks_version}")
implementation fg.deobf("curse.maven:rustic-${rustic_version}")
implementation fg.deobf("curse.maven:scalinghealth-${scalinghealth_version}")
implementation fg.deobf("curse.maven:serene-${serene_version}")
implementation fg.deobf("curse.maven:simpledifficulty-${simpledifficulty_version}")
implementation fg.deobf("curse.maven:sme-${sme_version}")
implementation fg.deobf("curse.maven:snowrealmagic-${snowrealmagic_version}")
implementation fg.deobf("curse.maven:spartanweaponry-${spartanweaponry_version}")
implementation fg.deobf("curse.maven:spawnercontrol-${spawnercontrol_version}")
implementation fg.deobf("curse.maven:switchbow-${switchbow_version}")
implementation fg.deobf("curse.maven:toolbelt-${toolbelt_version}")
implementation fg.deobf("curse.maven:trumpetskeleton-${trumpetskeleton_version}")
implementation fg.deobf("curse.maven:tschipplib-${tschipplib_version}")
implementation fg.deobf("curse.maven:variedcommodities-${variedcommodities_version}")
implementation fg.deobf("curse.maven:waystones-${waystones_version}")
implementation fg.deobf("curse.maven:xat-${xat_version}")
}
mixin {
add sourceSets.main, "mixins.${mod_id}.refmap.json"
}
processResources {
var replaceProperties = [
'mod_id': mod_id,
'mod_name': mod_name,
'version': mod_version,
'mcversion': minecraft_version,
'mod_description': mod_description,
'mod_author': mod_author
]
inputs.properties replaceProperties
filesMatching('mcmod.info') {
expand replaceProperties
}
}
jar {
manifest {
attributes([
'Specification-Title' : mod_name,
'Specification-Vendor' : mod_author,
'Specification-Version' : '1',
'Implementation-Title' : mod_name,
'Implementation-Vendor' : mod_author,
'Implementation-Version' : mod_version,
'Implementation-Timestamp': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
'FMLCorePlugin': mixin_loader_class,
'FMLCorePluginContainsFMLMod': 'true',
'ForceLoadAsMod': 'true', // Seems to do the opposite of what it claims to do while in dev enviroment, uncomment for build
'TweakClass': 'org.spongepowered.asm.launch.MixinTweaker'
])
}
}
jar.finalizedBy('reobfJar')