Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

The asciidoctor tasks doesn't depend on the jrubyprepare or download … #5

Merged
merged 1 commit into from Jul 20, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/asciidoctor-revealjs/VERSION
@@ -1 +1 @@
1.0.0
1.0.1
8 changes: 5 additions & 3 deletions templates/asciidoctor-revealjs/build.gradle
Expand Up @@ -53,7 +53,11 @@ task download << {
}

asciidoctor {
dependsOn jrubyPrepareGems
if( !buildDir.exists() ) {
dependsOn jrubyPrepareGems
dependsOn download
}

gemPath = jrubyPrepareGems.outputDir
requires = ['asciidoctor-diagram']
sources {
Expand All @@ -76,8 +80,6 @@ asciidoctor {
revealjs_theme: '${revealjsTheme}'

options template_dirs: [new File(adocRevealjsDir, 'templates/slim').absolutePath]

dependsOn download
}

watch {
Expand Down