@@ -12,11 +12,12 @@ group = 'com.marklogic'
1212description = " The official MarkLogic Java client API."
1313
1414dependencies {
15- // With 7.0.0, now using the Jakarta JAXB APIs instead of the JAVAX JAXB APIs that were bundled in Java 8.
16- // To ease support for Java 8, we are depending on version 3.x of the Jakarta JAXB APIs as those only require Java 8,
17- // whereas the 4.x version requires Java 11 or higher.
18- api " jakarta.xml.bind:jakarta.xml.bind-api:3.0.1"
19- implementation " org.glassfish.jaxb:jaxb-runtime:3.0.2"
15+ // Using the latest version now that the 8.0.0 release requires Java 17.
16+ // This is now an implementation dependency as opposed to an api dependency in 7.x and earlier.
17+ // The only time it appears in the public API is when a user uses JAXBHandle.
18+ // But in that scenario, the user would already be using JAXB in their application.
19+ implementation " jakarta.xml.bind:jakarta.xml.bind-api:4.0.4"
20+ implementation " org.glassfish.jaxb:jaxb-runtime:4.0.6"
2021
2122 implementation " com.squareup.okhttp3:okhttp:${ okhttpVersion} "
2223 implementation " com.squareup.okhttp3:logging-interceptor:${ okhttpVersion} "
@@ -27,9 +28,10 @@ dependencies {
2728 // take 50s instead of 2 to 3s. Haven't dug into the details, but seems like the call isn't lazy and the entire set
2829 // of URIs is being retrieved. This implementation - in the old "com.sun.mail" package but still adhering to the new
2930 // jakarta.mail API - works fine and performs well for eval calls.
31+ // As of the 8.0.0 release - this still is a good solution, particularly as com.sun.mail:jakarta.mail received a
32+ // recent patch release and is therefore still being maintained.
3033 implementation " com.sun.mail:jakarta.mail:2.0.2"
3134
32- implementation ' javax.ws.rs:javax.ws.rs-api:2.1.1'
3335 implementation ' org.slf4j:slf4j-api:2.0.17'
3436 implementation " com.fasterxml.jackson.core:jackson-databind:${ jacksonVersion} "
3537 implementation " com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${ jacksonVersion} "
0 commit comments