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") }