-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
executable file
·40 lines (34 loc) · 1.06 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
group 'de.beckerdd.bennet.minecraft'
version '2.0.2-rc2'
apply plugin: 'java'
apply plugin: 'idea'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven {
url "https://libraries.minecraft.net/"
}
}
dependencies {
compile "org.apache.commons:commons-lang3:3.6"
compile "javax.json:javax.json-api:1.1"
compile "org.glassfish:javax.json:1.0.4"
compile "commons-codec:commons-codec:1.9"
compile "commons-io:commons-io:2.5"
compile "net.sourceforge.argo:argo:3.7"
compile "com.google.guava:guava:14.0"
compile "org.tukaani:xz:1.3"
compile "org.ow2.asm:asm-all:5.2"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Technicserver FatJar',
'Implementation-Version': version,
'Main-Class': 'de.beckerdd.bennet.minecraft.technicserver.Main'
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}