-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (51 loc) · 1.77 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
/*
* This build file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/3.3/userguide/tutorial_java_projects.html
*/
buildscript {
repositories {
jcenter();
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}
apply plugin: 'java'
//compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
options.encoding = 'UTF-8'
options.compilerArgs << '-Xlint:deprecation' << '-Xlint:unchecked'
}
apply plugin: 'com.github.johnrengelman.shadow'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
// compile "tw.moze:moze-comm-util:1.+"
// compile "tw.moze:moze-vertx-dao:1.+"
// for java 1.7 compability
// compile 'com.typesafe.akka:akka-actor_2.10:2.3.16'
// compile 'ch.qos.logback:logback-classic:1.+'
compile 'redis.clients:jedis:2.9.0'
// compile group: 'org.postgresql', name: 'postgresql', version: '9.4.+'
compile group: 'com.opencsv', name: 'opencsv', version: '3.9'
// compile group: 'net.sf.opencsv', name: 'opencsv', version: '2.3'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.7.4'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.7.4'
// compile 'org.mongodb:mongo-java-driver:3.+'
// testCompile 'org.apache.commons:commons-csv:1.+'
// Use JUnit test framework
testCompile 'junit:junit:4.12'
}
shadowJar {
classifier = 'fat'
manifest {
attributes 'Main-Class': 'tw.moze.imsi.Main'
}
}