-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
111 lines (94 loc) · 2.37 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
buildscript {
repositories {
jcenter()
maven { url = "http://files.minecraftforge.net/maven" }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
version = "1.0.1"
group = "com.noobanidus.whoops"
archivesBaseName = "whoops"
sourceCompatibility = targetCompatibility = "1.8"
compileJava {
sourceCompatibility = targetCompatibility = "1.8"
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
minecraft {
version = "1.12.2-14.23.5.2811"
runDir = "run"
mappings = "stable_39"
useDepAts = true
replace "GRADLE:VERSION", project.version
}
task deobfJar(type: Jar) {
from sourceSets.main.output
classifier = "deobf"
}
artifacts {
archives deobfJar
}
repositories {
maven {
url "http://dvs1.progwml6.com/files/maven"
}
maven {
url "http://maven.blamejared.com"
}
maven {
url "http://maven.covers1624.net/"
}
maven {
url "http://chickenbones.net/maven/"
}
maven {
url "http://www.ryanliptak.com/maven/"
}
maven {
url "https://maven.chaosfield.at/"
}
maven {
url "http://maven.ic2.player.to/"
}
maven {
url "http://maven.tterrag.com"
}
maven {
url "https://dl.bintray.com/raoulvdberge/dev/"
}
maven {
url = "http://maven.thiakil.com"
}
maven {
url "http://tehnut.info/maven/"
}
ivy {
name = 'lunatrius\' ivy repo'
url 'http://mc.lunatri.us/files'
}
}
dependencies {
deobfCompile "vazkii.botania:Botania:r1.10-357.7"
deobfCompile "com.azanor.baubles:Baubles:1.12-1.5.2"
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.1'
}
jar {
manifest {
// attributes 'FMLAT': 'whoops_at.cfg'
}
}
processResources {
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version': project.version, 'mc_version': project.minecraft.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
rename '(.+at\\.cfg)', 'META-INF/$1'
}