| 123456789101112131415161718192021222324252627282930313233343536 | 
import org.asciidoctor.gradle.*file("src/asciidoc").eachFileMatch(~/.*\.asc/) { file->    task "asciidoctor-${file.name}"(type: AsciidoctorTask) {        sourceDocument = file        options = [          eruby: 'erubis',          eruby: 'erubis',          attributes: [              copycss : '',              icons : 'font',              'source-highlighter': 'prettify',              sectanchors : '',              toc2: '',              idprefix: '',              idseparator: '-',              doctype: 'book',              'spring-security-version' : project.version,              revnumber : project.version          ]        ]    }}task asciidoctor {    group = 'Documentation'    description = "Generates the asciidoc for $project.name"    dependsOn tasks.matching { t -> t.name.startsWith('asciidoctor-') }}ext.spec = copySpec {    into ('guides') {        from("$buildDir/asciidoctor/dist/html5/")    }}
 |