build.gradle
1.27 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
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = 'sponge'
url = 'http://repo.spongepowered.org/maven'
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
classpath 'org.spongepowered:mixingradle:0.4-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.liteloader'
apply plugin: 'org.spongepowered.mixin'
version = "0.1"
group = "com.mumfrey.examplemod" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "examplemod"
minecraft {
version = "1.10.2"
mappings = "snapshot_20160628"
runDir = "run"
}
sourceSets {
main {
// Refmap declaration must match the refmap name specified in the json config
refMap = "mixins.example.refmap.json"
}
}
mixin {
defaultObfuscationEnv notch
}
litemod {
json {
name = "test"
mcversion = "1.10.r1"
mixinConfigs += "mixins.example.json"
}
}
jar {
from litemod.outputs
}