-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (35 loc) · 1.07 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.1.1'
}
}
apply plugin: 'java'
//apply plugin: 'com.github.johnrengelman.shadow'
sourceCompatibility = 1.7
version = '1.0'
repositories {
mavenCentral()
}
dependencies {
compile 'org.ow2.asm:asm-all:4.2'
compile 'com.google.guava:guava:16.0'
//compile 'com.sparkjava:spark-core:1.1.1'
//compile 'com.fasterxml.jackson.core:jackson-databind:2.4.2'
//compile 'com.github.spullara.mustache.java:compiler:0.8.16'
testCompile 'junit:junit:4.11'
}
jar {
manifest {
attributes("Premain-Class": "com.skcraft.graft.GraftAgent")
}
}
/*shadowJar {
relocate('org.objectweb.asm', 'com.skcraft.graft.internal.asm')
relocate('com.google', 'com.skcraft.graft.internal.google')
//relocate('com.sparkjava', 'com.skcraft.graft.internal.sparkjava')
//relocate('com.fasterxml', 'com.skcraft.graft.internal.fasterxml')
//relocate('com.github.spullara.mustache', 'com.skcraft.graft.internal.mustache')
}*/