Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // https://docs.gradle.org/current/userguide/working_with_files.html#sec:copying_files
- task copyAssets(type: Copy) {
- from 'src/docs/asciidoc/assets'
- //into ['build/asciidoc/html5/assets', 'build/asciidoc/pdf/assets']
- into 'build/asciidoc/pdf/assets'
- }
- task gen(dependsOn: ['copyAssets', 'asciidoctor']) << {
- println "Files are generated."
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement