-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (34 loc) · 1.05 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
apply plugin: 'java'
sourceCompatibility = 1.8
version = '1.0'
task wrapper(type: Wrapper) {
gradleVersion = '2.2.1'
distributionUrl = 'http://services.gradle.org/distributions/gradle-2.2.1-all.zip'
}
jar {
manifest {
attributes 'Main-Class': 'com.siim.depchecker.Main'
}
}
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Version': version,
'Main-Class': 'com.siim.depchecker.Main'
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
repositories {
mavenCentral()
}
dependencies {
compile 'io.reactivex:rxjava:1.0.2'
compile 'com.squareup.retrofit:retrofit:1.8.0'
compile 'com.squareup.retrofit:converter-jackson:1.8.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.1.0'
compile 'com.squareup.okhttp:okhttp:2.1.0'
compile 'com.fasterxml.jackson.core:jackson-databind:2.4.3'
compile 'org.projectlombok:lombok:1.14.8'
testCompile group: 'junit', name: 'junit', version: '4.11'
}