-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (52 loc) · 1.29 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
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
maven {
name = "forge"
url = "https://files.minecraftforge.net/maven"
}
maven {
name = 'sponge'
url = 'https://repo.spongepowered.org/maven'
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
classpath 'org.spongepowered:mixingradle:0.4-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.liteloader'
apply plugin: 'org.spongepowered.mixin'
group = 'tomb'
version = '1.0'
archivesBaseName = 'ChatCalc'
minecraft {
version = project.mcVersion
mappings = project.mcpMappings
runDir = "run"
}
sourceSets {
main {
// Refmap declaration must match the refmap name specified in the json config
ext.refMap = "mixins.chatcalc.refmap.json"
}
}
litemod {
json{
name = "chatcalc"
mcversion = project.mcVersion
description = "Adds an ingame calculator using the chat field."
mixinConfigs += "mixins.chatcalc.json"
}
}
mixin {
defaultObfuscationEnv notch
}
jar {
from litemod.outputs
}