File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ project.sourceSets.all { SourceSet sourceSet ->
30
30
outputDir = " ${ project.buildDir} /generated/source/stone/${ sourceSet.name} "
31
31
}
32
32
33
- def specFiles = fileTree(dir : specDir, include : ' **/*.stone' )
33
+ def getSpecFiles = { fileTree(dir : specDir, include : ' **/*.stone' ) }
34
34
35
35
inputs. dir { project. fileTree(dir : generatorDir, exclude : ' **/*.pyc' ) }
36
- inputs. sourceDir { specFiles }
36
+ inputs. sourceDir getSpecFiles
37
37
inputs. property " config" , { new groovy.json.JsonBuilder (config). toString() }
38
38
outputs. dir { outputDir }
39
39
@@ -56,7 +56,7 @@ project.sourceSets.all { SourceSet sourceSet ->
56
56
}
57
57
args generatorFile. absolutePath
58
58
args new File (outputDir, " src" ). absolutePath
59
- args specFiles . getFiles()
59
+ args getSpecFiles() . getFiles()
60
60
args " --"
61
61
args " --package" , config. packageName
62
62
if (config. keepUnused) {
You can’t perform that action at this time.
0 commit comments