Skip to content

Commit

Permalink
Make the asciidoc extension available to IJ plugin (#1495)
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Philipp <marc@gradle.com>
  • Loading branch information
leonard84 and marcphilipp committed Jul 8, 2022
1 parent 05a8e0d commit f3ae7c4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -35,5 +35,6 @@ stacktrace.log

Foo.*
/.shelf/
/.asciidoctor/

!.idea/icon.png
9 changes: 9 additions & 0 deletions build-logic/asciidoc-extensions/asciidoc-extensions.gradle
Expand Up @@ -8,3 +8,12 @@ dependencies {
compileOnly 'org.asciidoctor:asciidoctorj:2.5.4'
}

tasks.register('installAsciidocExtension', Copy) {
from(tasks.named('jar'))
into('../../.asciidoctor/lib')
}

tasks.named('ideaModule') {
it.dependsOn('installAsciidocExtension')
}

0 comments on commit f3ae7c4

Please sign in to comment.