Skip to content

Commit a6b3e3b

Browse files
Fixed rs-api dependency error
Applied fix found in gradle/gradle#3065 Error details from build log: ``` FAILURE: Build failed with an exception. * What went wrong: Could not resolve all dependencies for configuration ':marklogic-rdf4j:compile'. > Could not determine artifacts for javax.ws.rs:javax.ws.rs-api:2.1 > Could not HEAD 'https://jcenter.bintray.com/javax/ws/rs/javax.ws.rs-api/2.1/javax.ws.rs-api-2.1.$%7Bpackaging.type%7D'. Received status code 400 from server: Bad Request ```
1 parent cc58216 commit a6b3e3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

marklogic-rdf4j/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ dependencies {
4646
compile('com.marklogic:marklogic-client-api:4.2.0') {
4747
exclude(group: 'org.slf4j')
4848
exclude(group: 'ch.qos.logback')
49+
exclude(group: 'javax.ws.rs')
4950
}
51+
compile "javax.ws.rs:javax.ws.rs-api:2.1@jar"
5052
compile('org.slf4j:slf4j-api:1.7.10')
5153
compile "ch.qos.logback:logback-classic:$logbackVersion"
5254
compile "org.slf4j:jcl-over-slf4j:$slf4jVersion"

0 commit comments

Comments
 (0)