Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a modules DSL block to configure converter and other component versions #348

Closed
ysb33r opened this issue Apr 20, 2019 · 0 comments
Closed
Labels
2.x Issue related to the 2.x series enhancement
Milestone

Comments

@ysb33r
Copy link
Member

ysb33r commented Apr 20, 2019

Looking forward to 3.0 it is best to configure PDF, Digram etc. in a modules block on the extension:

asciidoctorj {
   modules {
     // Configure via closure (Groovy-DSL only)
    pdf {
      version = '1.2.3'
    }

    // Configure via direct assignment (All DSLs)
   pdf.version = '1.2.3' 
 }
}

(Kotlin will use the dotted assignment version)

Existing methods should be marked as deprecated and warnigns messages printed if they are used.

@ysb33r ysb33r added enhancement 2.x Issue related to the 2.x series labels Apr 20, 2019
@ysb33r ysb33r changed the title Use a modules DSL nlock to confure converter and other component versions Use a modules DSL block to configure converter and other component versions Apr 20, 2019
@ysb33r ysb33r added this to the 2.2.0 milestone Apr 20, 2019
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue Apr 20, 2019
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue Apr 20, 2019
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue Apr 20, 2019
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue Apr 20, 2019
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue Apr 20, 2019
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue Apr 20, 2019
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue Apr 20, 2019
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue Apr 21, 2019
…octor#348)

Also:
- Add Gradle 5.4 to test matrix
- Fix javadoc errors
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue Apr 25, 2019
…octor#348)

Also:
- Add Gradle 5.4 to test matrix
- Fix javadoc errors
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue May 4, 2019
…octor#348)

Also:
- Add Gradle 5.4 to test matrix
- Fix javadoc errors
ysb33r added a commit to ysb33r/asciidoctor-gradle-plugin that referenced this issue May 4, 2019
…octor#348)

Also:
- Add Gradle 5.4 to test matrix
- Fix javadoc errors
This was referenced May 4, 2019
@ysb33r ysb33r closed this as completed May 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Issue related to the 2.x series enhancement
Projects
None yet
Development

No branches or pull requests

1 participant