-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
executable file
·79 lines (70 loc) · 2.01 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
buildscript {
repositories {
mavenCentral()
maven { url = "http://files.minecraftforge.net/maven" }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
group = "gtce-inventory"
version = "0.0.3"
archivesBaseName = "gtce-inventory"
sourceCompatibility = targetCompatibility = '1.8'
compileJava {
sourceCompatibility = targetCompatibility = '1.8'
}
minecraft {
version = "1.12.2-14.23.5.2847"
runDir = "run"
mappings = "stable_39"
makeObfSourceJar = false
replace("@VERSION@",project.version)
replaceIn("GTCEInventory.java")
}
repositories {
maven {
url = "http://dvs1.progwml6.com/files/maven/"
}
maven {
url = "https://maven.blamejared.com/"
}
maven {
url = "http://maven.ic2.player.to"
}
maven {
url "https://minecraft.curseforge.com/api/maven"
}
maven {
url = "http://chickenbones.net/maven/"
}
maven {
url = "https://mod-buildcraft.com/maven/"
}
maven {
name = "tterrag maven"
setUrl("http://maven.tterrag.com/")
}
}
dependencies {
deobfCompile "CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.+"
deobfCompile "mezz.jei:jei_1.12.2:+"
deobfCompile "gregtechce:gregtech:1.12.2:1.17.1.770"
deobfCompile "codechicken:ChickenASM:1.12-+"
deobfCompile "codechicken-lib-1-8:CodeChickenLib-1.12.2:3.2.3.357:universal"
deobfCompile "team.chisel.ctm:CTM:MC1.12.2-1.0.2.31"
deobfCompile "mcjty.theoneprobe:TheOneProbe-1.12:1.12-1.4.28-17"
}
processResources {
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version':project.version, 'mcversion':project.minecraft.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}