japmodelgen xjc task cacheability

This commit is contained in:
Steve Ebersole 2021-07-29 13:02:52 -05:00
parent 78e620d9fe
commit a716b348f7
1 changed files with 2 additions and 1 deletions

View File

@ -45,8 +45,9 @@ compileTestJava {
task jaxb {
// configure Gradle up-to-date checking
inputs.dir( xsdDir )
inputs.dir( xsdDir ).withPropertyName("xsdDir" ).withPathSensitivity( PathSensitivity.RELATIVE )
outputs.dir( xjcTargetDir )
outputs.cacheIf { true }
// perform actions
doLast {