Browse Source

Avoid usage of deprecated Gradle API in spring-oxm.gradle

This upgrade avoids the warning about the following on Gradle 7.1+.

- The SourceDirectorySet.outputDir property has been deprecated.

Closes gh-26870
pull/27415/head
Sam Brannen 3 years ago
parent
commit
b1a4d3033b
  1. 3
      spring-oxm/spring-oxm.gradle

3
spring-oxm/spring-oxm.gradle

@ -16,6 +16,7 @@ dependencies { @@ -16,6 +16,7 @@ dependencies {
xjc {
xjcVersion = '2.2'
}
sourceSets {
test {
xjcTargetPackage = 'org.springframework.oxm.jaxb.test'
@ -55,7 +56,7 @@ if ((JavaVersion.current() == JavaVersion.VERSION_1_8) && !project.hasProperty(" @@ -55,7 +56,7 @@ if ((JavaVersion.current() == JavaVersion.VERSION_1_8) && !project.hasProperty("
classpath: configurations.jibx.asPath)
jibx(verbose: false, load: true, binding: bindingXml) {
classpathset(dir: sourceSets.test.java.outputDir) {
classpathset(dir: sourceSets.test.java.classesDirectory.get().getAsFile()) {
include(name: "**/jibx/**/*")
}
}

Loading…
Cancel
Save