forked from watson-developer-cloud/java-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
38 lines (33 loc) · 1.36 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
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.3.0'
description = 'Client library to use the IBM Watson and Alchemy Services'
repositories {
mavenCentral()
}
dependencies {
compile group: 'com.squareup.okhttp3', name: 'okhttp', version:'3.3.1'
compile group: 'com.squareup.okhttp3', name: 'okhttp-ws', version:'3.3.1'
compile group: 'com.squareup.okhttp3', name: 'logging-interceptor', version:'3.3.1'
compile group: 'com.squareup.okhttp3', name: 'okhttp-urlconnection', version:'3.3.1'
compile group: 'com.google.code.gson', name: 'gson', version:'2.6.2'
compile group: 'org.apache.commons', name: 'commons-lang3', version:'3.4'
compile group: 'org.glassfish.jersey.bundles.repackaged', name: 'jersey-jsr166e', version:'2.22.2'
testCompile group: 'com.squareup.okhttp3', name: 'mockwebserver', version:'3.3.1'
testCompile group: 'ch.qos.logback', name: 'logback-classic', version:'1.1.7'
testCompile group: 'com.google.guava', name: 'guava', version:'19.0'
testCompile group: 'junit', name: 'junit-dep', version:'4.11'
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}