forked from watson-developer-cloud/java-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
35 lines (30 loc) · 1.12 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
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
apply plugin: 'idea'
sourceCompatibility = 1.6
targetCompatibility = 1.6
group = 'com.ibm.watson.developercloud'
archivesBaseName = 'watson-developer-cloud'
version = '3.0.0-RC1'
description = 'Client library to use the IBM Watson Services and AlchemyAPI'
repositories {
mavenCentral()
}
dependencies {
compile group: 'com.squareup.okhttp3', name: 'okhttp', version:'3.2.0'
compile group: 'com.squareup.okhttp3', name: 'okhttp-ws', version:'3.2.0'
compile group: 'com.squareup.okhttp3', name: 'okhttp-urlconnection', version:'3.2.0'
compile group: 'com.google.code.gson', name: 'gson', version:'2.6.2'
compile group: 'org.apache.commons', name: 'commons-lang3', version:'3.4'
testCompile group: 'com.squareup.okhttp3', name: 'mockwebserver', version:'3.2.0'
testCompile group: 'org.mock-server', name: 'mockserver-netty', version:'3.9.17'
testCompile group: 'junit', name: 'junit-dep', version:'4.11'
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}