forked from MrCrayfish/MrCrayfishFurnitureMod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (44 loc) · 1.63 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
def module_name = 'furniture'
def module_version = '0.0.1f'
version = module_version
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
apply plugin: 'idea'
apply plugin: 'com.github.johnrengelman.shadow'
configurations {
embed
compile.extendsFrom(embed)
}
dependencies {
compileOnly fg.deobf('CraftTweaker2:CraftTweaker2-API:1.12-4.1.20.675')
compileOnly fg.deobf('CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.1.20.675')
compileOnly fg.deobf('CraftTweaker2:ZenScript:1.12-4.1.20.675')
}
repositories {
maven {
url = 'https://maven.blamejared.com'
name = 'BlameJared Maven'
}
}
jar {
from(configurations.embed.collect { it.isDirectory() ? it : zipTree(it) }) {
exclude 'META-INF', 'META-INF/**'
}
manifest {
attributes([
"Specification-Title": module_name,
"Specification-Vendor": module_name,
"Specification-Version": module_version,
"Implementation-Title": project.name,
"Implementation-Version": "${version}",
"Implementation-Vendor" : module_name,
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
"FMLAT": "drawlife_at.cfg",
"FMLCorePlugin": "eu.drawlife.common.asm.DrawLifeLoadingPlugin",
"FMLCorePluginContainsFMLMod": true,
"ForceLoadAsMod": true,
"TweakClass": "org.spongepowered.asm.launch.MixinTweaker",
"TweakOrder": 0,
"MixinConfigs": "mixins.drawlife.json"
])
}
}