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
This commit is contained in:
parent
8c14251a1a
commit
b1a4d3033b
|
@ -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("
|
|||
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…
Reference in New Issue