/
build.gradle
49 lines (41 loc) · 1.24 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
group 'org.uristmaps'
version '0.3.3'
apply plugin: 'java'
apply plugin: 'idea'
targetCompatibility = 1.8
repositories {
mavenCentral()
}
apply from: 'https://raw.github.com/akhikhl/gradle-onejar/master/pluginScripts/gradle-onejar.plugin'
ext {
mainClass = "org.uristmaps.Uristmaps"
}
onejar {
product name: "uristmaps", launchers: []
}
sourceSets {
main {
resources {
exclude "fonts/"
exclude "res/"
exclude "config.cfg*"
exclude "templates"
exclude "tiles"
}
}
}
jar {
manifest {
attributes "Main-Class": "org.uristmaps.Uristmaps"
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile group: "org.apache.velocity", name: "velocity", version: "1.7"
compile group: "commons-io", name: "commons-io", version: "2.4"
compile group: "org.ini4j", name: "ini4j", version:"0.5.4"
compile group: "com.esotericsoftware", name:"kryo", version:"3.0.1"
compile group: "com.sparkjava", name: "spark-core", version: "2.2"
compile group: "com.fasterxml.jackson.core", name: "jackson-core", version: "2.6.0-rc1"
compile group: "com.fasterxml.jackson.core", name: "jackson-databind", version: "2.6.0-rc1"
}