-task copyHelp(type: Copy) {
- dependsOn releasesTemplates
-
- def inputDir = helpSourceDir
- def outputDir = "${helpBuildDir}/${help_dir}"
- from(inputDir) {
- include('**/*.txt')
- include('**/*.md')
- include('**/*.html')
- include('**/*.hs')
- include('**/*.xml')
- include('**/*.jhm')
- filter(ReplaceTokens,
- beginToken: '$$',
- endToken: '$$',
- tokens: [
- 'Version-Rel': JALVIEW_VERSION,
- 'Year-Rel': getDate("yyyy")
- ]
- )
- }
- from(inputDir) {
- exclude('**/*.txt')
- exclude('**/*.md')
- exclude('**/*.html')
- exclude('**/*.hs')
- exclude('**/*.xml')
- exclude('**/*.jhm')
- }
- into outputDir
-
- inputs.dir(inputDir)
- outputs.files(helpFile)
- outputs.dir(outputDir)
-}
-
-