forked from watson-developer-cloud/java-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (30 loc) · 932 Bytes
/
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
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
sourceCompatibility = 1.6
targetCompatibility = 1.6
group = 'com.ibm.watson.developercloud'
archivesBaseName = 'watson-developer-cloud'
version = '0.1.9'
description = 'Watson Developer Cloud Java Wrapper'
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.apache.httpcomponents', name: 'httpmime', version:'4.0.3'
compile group: 'com.google.code.gson', name: 'gson', version:'2.3.1'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version:'4.0.3'
testCompile group: 'org.mockito', name: 'mockito-core', version:'1.10.19'
testCompile group: 'junit', name: 'junit-dep', version:'4.11'
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives javadocJar, sourcesJar
}