-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
57 lines (47 loc) · 1.33 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
buildscript {
repositories {
maven { url = "https://maven.minecraftforge.net/" }
maven { url = "https://maven.gofancy.wtf/releases" }
mavenCentral()
}
dependencies {
classpath group: "net.minecraftforge.gradle", name: "ForgeGradle", version: "5.+", changing: true
classpath group: "wtf.gofancy.fancygradle", name: "wtf.gofancy.fancygradle.gradle.plugin", version: "1.1.+"
}
}
apply plugin: "idea"
apply plugin: "net.minecraftforge.gradle"
apply plugin: "wtf.gofancy.fancygradle"
version = mcversion + "-" + mod_version
group = mod_group
archivesBaseName = archive_name
sourceCompatibility = targetCompatibility = "1.8"
compileJava {
options.compilerArgs << "-Xlint:deprecation" << "-Xlint:unchecked"
}
idea {
module {
inheritOutputDirs = true
}
}
fancyGradle {
patches {
resources
}
}
minecraft {
//mappings channel: "snapshot", version: "20171003-1.12"
mappings channel: "snapshot", version: "20171003-1.12"
runs {
client {
workingDirectory project.file("run")
}
server {
workingDirectory project.file("runServer")
}
}
}
dependencies {
minecraft "net.minecraftforge:forge:1.12.2-14.23.5.2860"
}
jar.finalizedBy("reobfJar")