Files
spring-framework/spring-oxm/spring-oxm.gradle
Juergen Hoeller d84ca2ba90 Jakarta EE 9 migration
Upgrades many dependency declarations; removes old EJB 2.x support and outdated Servlet-based integrations (Commons FileUpload, FreeMarker JSP support, Tiles).

Closes gh-22093
Closes gh-25354
Closes gh-26185
Closes gh-27423
See gh-27424
2021-09-17 09:14:07 +02:00

35 lines
941 B
Groovy

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.ogce:xpp3")
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")
}