-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (53 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
58
59
60
61
62
63
repositories {
maven {
url "https://raw.github.com/hea3ven/mvn-repo/master"
}
maven {
url "https://libraries.minecraft.net/"
}
mavenCentral()
}
apply plugin: 'java'
apply plugin: 'eclipse'
version = "1.0.3"
group = "com.hea3ven.tweaks"
archivesBaseName = "hea3ven-tweaks"
sourceCompatibility = 1.8
targetCompatibility = 1.8
configurations {
release
}
dependencies {
compile 'net.minecraft:launchwrapper:1.12'
compile 'org.ow2.asm:asm-debug-all:5.0.3'
compile 'org.lwjgl.lwjgl:lwjgl:2.9.1'
compile 'org.apache.logging.log4j:log4j-core:2.0-beta9'
compile 'org.apache.logging.log4j:log4j-api:2.0-beta9'
compile 'com.google.guava:guava:15.0'
compile 'com.hea3ven.tools.asmtweaks:h3nt-asmtweaks:1.0.2'
release('com.hea3ven.tools.asmtweaks:h3nt-asmtweaks:1.0.2') {
transitive = false
}
release('com.hea3ven.tools.mappings:h3nt-mappings:1.0.1') {
transitive = false
}
compile files('build/15w32a.jar')
}
sourceSets.main {
java {
srcDirs 'src/main/java'
srcDirs 'src/bootstrap/java'
}
resources {
srcDirs 'src/main/resources'
srcDirs 'src/bootstrap/resources'
}
}
jar {
manifest {
attributes("TweakClass":"com.hea3ven.tweaks.Hea3venTweaks")
}
into ('libs') {
from configurations.release
}
}