forked from snowplow/snowplow-java-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (30 loc) · 942 Bytes
/
Copy pathbuild.gradle
File metadata and controls
34 lines (30 loc) · 942 Bytes
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
apply plugin: 'java'
group = 'com.snowplowanalytics'
version = '0.0.1'
repositories {
mavenCentral()
flatDir {
dirs '../../build/libs'
}
}
dependencies {
compile 'com.google.code.gson:gson:2.8+'
compile 'com.snowplowanalytics:snowplow-java-tracker:0.9.0'
compile 'com.squareup.okhttp3:okhttp:4.2.2'
compile 'org.slf4j:slf4j-api:1.7.7'
compile 'org.slf4j:slf4j-simple:1.7.7'
compile 'com.fasterxml.jackson.core:jackson-databind:2.4.1.1'
compile 'com.google.guava:guava:18.0'
testCompile 'junit:junit:4.12'
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'simple-console',
'Implementation-Version': version,
'Main-Class': 'com.snowplowanalytics.Main'
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
tasks.jar.dependsOn(fatJar)