You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
904 B
33 lines
904 B
plugins { |
|
id "org.unbroken-dome.xjc" |
|
} |
|
|
|
description = "Spring Object/XML Marshalling" |
|
|
|
xjc { |
|
xjcVersion = '3.0' |
|
} |
|
|
|
sourceSets { |
|
test { |
|
xjcTargetPackage = 'org.springframework.oxm.jaxb.test' |
|
} |
|
} |
|
|
|
dependencies { |
|
api(project(":spring-beans")) |
|
api(project(":spring-core")) |
|
optional("com.thoughtworks.xstream:xstream") |
|
optional("jakarta.activation:jakarta.activation-api") |
|
optional("jakarta.xml.bind:jakarta.xml.bind-api") |
|
testImplementation(project(":spring-context")) |
|
testImplementation(testFixtures(project(":spring-core"))) |
|
testImplementation("org.codehaus.jettison:jettison") { |
|
exclude group: "stax", module: "stax-api" |
|
} |
|
//testImplementation(files(genJaxb.classesDir).builtBy(genJaxb)) |
|
testImplementation("org.xmlunit:xmlunit-assertj") |
|
testImplementation("org.xmlunit:xmlunit-matchers") |
|
testRuntimeOnly("com.sun.xml.bind:jaxb-core") |
|
testRuntimeOnly("com.sun.xml.bind:jaxb-impl") |
|
}
|
|
|