2021-05-03 20:52:28 +08:00
|
|
|
plugins {
|
|
|
|
id "org.unbroken-dome.xjc"
|
|
|
|
}
|
|
|
|
|
2017-08-21 20:41:55 +08:00
|
|
|
description = "Spring Object/XML Marshalling"
|
|
|
|
|
2021-05-03 20:52:28 +08:00
|
|
|
xjc {
|
2021-09-17 15:14:07 +08:00
|
|
|
xjcVersion = '3.0'
|
2021-05-03 20:52:28 +08:00
|
|
|
}
|
2021-09-14 17:35:12 +08:00
|
|
|
|
2021-05-03 20:52:28 +08:00
|
|
|
sourceSets {
|
|
|
|
test {
|
|
|
|
xjcTargetPackage = 'org.springframework.oxm.jaxb.test'
|
2012-12-07 04:56:24 +08:00
|
|
|
}
|
2012-01-18 01:22:24 +08:00
|
|
|
}
|
|
|
|
|
2017-08-21 20:41:55 +08:00
|
|
|
dependencies {
|
2021-05-22 03:16:30 +08:00
|
|
|
api(project(":spring-beans"))
|
|
|
|
api(project(":spring-core"))
|
2021-09-17 15:14:07 +08:00
|
|
|
optional("jakarta.xml.bind:jakarta.xml.bind-api")
|
|
|
|
optional("jakarta.activation:jakarta.activation-api")
|
2019-08-27 03:13:12 +08:00
|
|
|
optional("com.thoughtworks.xstream:xstream")
|
2021-05-22 03:16:30 +08:00
|
|
|
testImplementation(project(":spring-context"))
|
|
|
|
testImplementation(testFixtures(project(":spring-core")))
|
|
|
|
testImplementation("org.codehaus.jettison:jettison") {
|
2018-08-16 21:32:44 +08:00
|
|
|
exclude group: "stax", module: "stax-api"
|
2017-08-21 20:41:55 +08:00
|
|
|
}
|
2021-05-22 03:16:30 +08:00
|
|
|
//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")
|
2017-08-21 20:42:12 +08:00
|
|
|
}
|