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
29 lines (25 loc) · 718 Bytes
/
build.gradle
File metadata and controls
29 lines (25 loc) · 718 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
apply plugin: 'java'
group = 'com.snowplowanalytics'
version = '0.0.1'
repositories {
mavenCentral()
maven {
url "http://maven.snplow.com/releases"
}
}
dependencies {
compile 'com.google.code.gson:gson:2.8+'
compile 'com.snowplowanalytics:snowplow-java-tracker:0.8.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)