forked from spring-projects/spring-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspring-oxm.gradle
33 lines (29 loc) · 904 Bytes
/
spring-oxm.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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("jakarta.xml.bind:jakarta.xml.bind-api")
optional("jakarta.activation:jakarta.activation-api")
optional("com.thoughtworks.xstream:xstream")
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")
}