Skip to content

Commit

Permalink
Update Asciidoctor Gradle plugin
Browse files Browse the repository at this point in the history
Upgrade to asciidoctor-gradle-plugin version 1.5.2.
Various syntax fixes in the index.adoc reference documentation.
  • Loading branch information
bclozel committed Mar 6, 2015
1 parent b7dd520 commit 503956d
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 66 deletions.
22 changes: 9 additions & 13 deletions build.gradle
Expand Up @@ -4,7 +4,7 @@ buildscript {
}
dependencies {
classpath("org.springframework.build.gradle:propdeps-plugin:0.0.7")
classpath("org.asciidoctor:asciidoctor-gradle-plugin:0.7.0")
classpath("org.asciidoctor:asciidoctor-gradle-plugin:1.5.2")
classpath("io.spring.gradle:docbook-reference-plugin:0.3.0")
classpath("ws.antonov.gradle.plugins:gradle-plugin-protobuf:0.9.1")
}
Expand Down Expand Up @@ -1096,25 +1096,21 @@ sonarRunner {
configure(rootProject) {
description = "Spring Framework"

apply plugin: "asciidoctor"
apply plugin: "org.asciidoctor.convert"
apply plugin: "docbook-reference"
apply plugin: "groovy"

// apply plugin: "detect-split-packages"
apply from: "${gradleScriptDir}/jdiff.gradle"

asciidoctor {
baseDir = project.file('src/asciidoc')
backend = 'docbook5'
options = [
eruby: 'erubis',
attributes: [
doctype: 'book',
'spring-version' : project.version,
revnumber : project.version,
docinfo : ""
]
]
sourceDir project.file('src/asciidoc')
separateOutputDirs = false
backends = ['docbook5']
options doctype: 'book', eruby: 'erubis'
attributes 'spring-version': project.version,
revnumber : project.version,
docinfo : ""
}

reference {
Expand Down

0 comments on commit 503956d

Please sign in to comment.