Skip to content

Commit

Permalink
Fix inclusion of transitive dependency org.glassfish.jaxb.runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Jan 7, 2025
1 parent 6cb0f03 commit 6263f3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {

// JAXB API only
implementation 'jakarta.xml.bind:jakarta.xml.bind-api:4.0.0'
// JAXB RI, Jakarta XML Binding
// JAXB RI, Jakarta XML Binding (do not change to runtimeOnly, breaks transitive dependency)
implementation 'org.glassfish.jaxb:jaxb-runtime:4.0.5'

// JUnit Jupiter using Gradle's native JUnit Platform
Expand Down
1 change: 1 addition & 0 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
requires jakarta.activation;
requires org.apache.commons.io;
requires jakarta.xml.bind;
requires org.glassfish.jaxb.runtime; // Add the JAXB RI implementation module
requires dd.plist;
requires com.fasterxml.jackson.annotation;
requires com.fasterxml.jackson.databind;
Expand Down

0 comments on commit 6263f3b

Please sign in to comment.