forked from rickfast/consul-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (43 loc) · 1.21 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
apply plugin: 'java'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'maven'
version = '0.4.1'
group = 'com.orbitz.consul'
repositories {
mavenCentral()
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:+'
}
}
dependencies {
compile 'com.fasterxml.jackson.core:jackson-core:2.3.0'
compile 'com.fasterxml.jackson.core:jackson-databind:2.3.0'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.3.0'
compile 'com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.3.0'
compile 'org.apache.cxf:cxf-rt-rs-client:3.0.1'
compile 'com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.3.0'
compile 'com.google.guava:guava:17.0'
compile 'commons-codec:commons-codec:1.9'
testCompile 'junit:junit:4.11'
testCompile 'org.mockito:mockito-all:1.9.5'
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
task wrapper(type: Wrapper) {
gradleVersion = '2.0'
}