Skip to content

Commit

Permalink
resolved #62 (upgrade to AsciiDoctor-Gradle-Plugin 1.5.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
gernotstarke committed Dec 16, 2014
1 parent 1a7293a commit b320dc6
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions documentation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
println " (configuration of subproject $project.name) "


apply plugin: 'org.asciidoctor.gradle.asciidoctor'
//apply plugin: 'distribution'
apply plugin: 'org.asciidoctor.convert'


buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.0'
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.2'
}
}

Expand All @@ -21,20 +21,16 @@ def outputPath = "$buildDir/docs"
asciidoctor {
outputDir = new File( outputPath )
sourceDir = file( "docs" )
sourceDocumentNames = files(
new File( "docs/hsc_arc42.adoc" ),
new File( "docs/DevelopmentGuide.adoc"),
new File( "docs/index.adoc") )

options = [
attributes: [
backend : 'html5',
doctype : 'book',
icons : 'font',
sectlink : true,
sectanchors : true
]
]
sources { include "hsc_arc42.adoc" ,
"DevelopmentGuide.adoc",
"index.adoc" }

options backends: ['html5'],
doctype: 'book',
icons: 'font',
sectlink: true,
sectanchors: true

}


Expand Down

0 comments on commit b320dc6

Please sign in to comment.