japmodelgen xjc task cacheability
This commit is contained in:
parent
78e620d9fe
commit
a716b348f7
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue