fix gradle deprecations

This commit is contained in:
Steve Ebersole 2021-12-01 11:50:10 -06:00
parent a6764fbbf4
commit 55bfc59db1
2 changed files with 2 additions and 2 deletions

View File

@ -313,7 +313,7 @@ processTestResources {
include '**/*.properties' include '**/*.properties'
include '**/*.xml' include '**/*.xml'
} }
into sourceSets.test.java.outputDir into sourceSets.test.java.classesDirectory
} }
copy { copy {
from file( 'src/test/resources' ) from file( 'src/test/resources' )

View File

@ -187,7 +187,7 @@ task generateEnversStaticMetamodel(
] ]
// put static metamodel classes back out to the source tree since they're version controlled. // put static metamodel classes back out to the source tree since they're version controlled.
destinationDir = new File( "${projectDir}/src/main/java" ) destinationDirectory = new File( "${projectDir}/src/main/java" )
} }
tasks.withType( Test.class ).each { test -> tasks.withType( Test.class ).each { test ->