1 apply plugin: 'java-library'
2 apply plugin: 'eclipse'
5 apply plugin: 'signing'
13 api 'com.squareup.okhttp3:okhttp:3.9.1'
14 api 'com.fasterxml.jackson.core:jackson-databind:2.9.2'
15 api 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.9.2'
16 api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.2'
17 api 'commons-codec:commons-codec:1.11'
18 api 'commons-io:commons-io:2.6'
19 api 'com.google.guava:guava:23.4-jre'
20 api 'org.slf4j:slf4j-api:1.7.25'
21 api 'com.typesafe:config:1.3.2'
23 testImplementation 'junit:junit:4.12'
24 testImplementation 'org.mockito:mockito-core:2.12.0'
25 testImplementation 'org.assertj:assertj-core:3.8.0'
26 testImplementation 'com.squareup.okhttp3:mockwebserver:3.9.1'
31 excludeCategories 'org.arvados.client.junit.categories.IntegrationTests'
35 events "passed", "skipped", "failed"
36 afterSuite { desc, result ->
37 if (!desc.parent) { // will match the outermost suite
38 println "\n---- Test results ----"
39 println "${result.resultType} (${result.testCount} tests, ${result.successfulTestCount} successes, ${result.failedTestCount} failures, ${result.skippedTestCount} skipped)"
46 task integrationTest(type: Test) {
48 includeCategories 'org.arvados.client.junit.categories.IntegrationTests'
52 task javadocJar(type: Jar) {
53 classifier = 'javadoc'
57 task sourcesJar(type: Jar) {
58 classifier = 'sources'
59 from sourceSets.main.allSource
63 archives javadocJar, sourcesJar
67 sign configurations.archives
73 beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
75 repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2") {
76 authentication(userName: ossrhUsername, password: ossrhPassword)
79 snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots") {
80 authentication(userName: ossrhUsername, password: ossrhPassword)
84 name 'Arvados Java SDK'
87 description 'Arvados Java SDK'
88 url 'https://github.com/arvados/arvados'
91 url 'scm:git@https://github.com/arvados/arvados.git'
92 connection 'scm:git@https://github.com/arvados/arvados.git'
93 developerConnection 'scm:git@https://github.com/arvados/arvados.git'
98 name 'The Apache License, Version 2.0'
99 url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
106 name 'Veritas Genetics'
107 email 'ops@veritasgenetics.com'