HHH-8693 - asciidoc is not integrated into release workflow

This commit is contained in:
Steve Ebersole 2013-11-18 14:48:10 -06:00
parent 9a3b1417c6
commit da6ee1e5bc
2 changed files with 7 additions and 1 deletions

View File

@ -141,3 +141,5 @@ tasks.withType(org.asciidoctor.gradle.AsciidoctorTask) { docTask ->
// - aggregator
task asciidoctor(type: Task, group: 'Documentation')
asciidoctor.dependsOn generateRegistryGuideHtml, generateMetamodelgenGuideHtml
buildDocs.dependsOn asciidoctor

View File

@ -116,6 +116,10 @@ task buildDocumentation(type: Task, dependsOn: [rootProject.project( 'documentat
from "${rootProject.project( 'documentation' ).buildDir}/docbook/publish"
into documentationDir
}
copy {
from "${rootProject.project( 'documentation' ).buildDir}/asciidoc"
into documentationDir
}
// now prepare the upload staging directory
versionedDocumentationDir.mkdirs()