HHH-12946 Add explicit dependencies to JAXB APIs where relevant
This commit is contained in:
parent
fcdc62a849
commit
f9609f93b2
|
@ -114,19 +114,22 @@ dependencies {
|
|||
if ( JavaVersion.current().isJava9Compatible() ) {
|
||||
// The JDK used to run Gradle is Java 9+, and we assume that that is the same
|
||||
// JDK for executing tasks
|
||||
compile( libraries.jaxb )
|
||||
compile( libraries.jaxb_api )
|
||||
compile( libraries.jaxb_runtime )
|
||||
compile( libraries.jaxb_xjc )
|
||||
compile( libraries.jaxb2_basics )
|
||||
compile( libraries.jaxb2_basics_ant )
|
||||
compile( libraries.jsr250_api )
|
||||
|
||||
testCompile( libraries.jaxb )
|
||||
testCompile( libraries.jaxb_api )
|
||||
testCompile( libraries.jaxb_runtime )
|
||||
testCompile( libraries.jaxb_xjc )
|
||||
testCompile( libraries.jaxb2_basics )
|
||||
testCompile( libraries.jaxb2_basics_ant )
|
||||
testCompile( libraries.jsr250_api )
|
||||
|
||||
testRuntime( libraries.jaxb )
|
||||
testRuntime( libraries.jaxb_api )
|
||||
testRuntime( libraries.jaxb_runtime )
|
||||
testRuntime( libraries.jaxb_xjc )
|
||||
testRuntime( libraries.jaxb2_basics )
|
||||
testRuntime( libraries.jaxb2_basics_ant )
|
||||
|
|
|
@ -76,7 +76,9 @@ ext {
|
|||
logging_processor: 'org.jboss.logging:jboss-logging-processor:2.1.0.Final',
|
||||
|
||||
// jaxb task
|
||||
jaxb: 'org.glassfish.jaxb:jaxb-runtime:2.2.11',
|
||||
// Strangely, jaxb-runtime 2.2.11 depends on jaxb-api 2.2.12-b140109.1041
|
||||
jaxb_api: 'javax.xml.bind:jaxb-api:2.2.12-b140109.1041',
|
||||
jaxb_runtime: 'org.glassfish.jaxb:jaxb-runtime:2.2.11',
|
||||
jaxb_xjc: 'org.glassfish.jaxb:jaxb-xjc:2.2.11',
|
||||
// Note that jaxb2_basics is a set of tools on *top* of JAXB.
|
||||
// See https://github.com/highsource/jaxb2-basics
|
||||
|
|
|
@ -27,7 +27,7 @@ dependencies {
|
|||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
// Java 9 ftw!
|
||||
if ( JavaVersion.current().isJava9Compatible() ) {
|
||||
xjc( libraries.jaxb )
|
||||
xjc( libraries.jaxb_runtime )
|
||||
xjc( libraries.jaxb_xjc )
|
||||
xjc( libraries.jaxb2_basics )
|
||||
xjc( libraries.jaxb2_basics_ant )
|
||||
|
|
|
@ -24,7 +24,7 @@ dependencies {
|
|||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
// Java 9 ftw!
|
||||
if ( JavaVersion.current().isJava9Compatible() ) {
|
||||
xjc( libraries.jaxb )
|
||||
xjc( libraries.jaxb_runtime )
|
||||
xjc( libraries.jaxb_xjc )
|
||||
xjc( libraries.jaxb2_basics )
|
||||
xjc( libraries.jaxb2_basics_ant )
|
||||
|
|
Loading…
Reference in New Issue