asciidoctor-gradle-plugin | Gradle plugin that uses Asciidoctor via JRuby | Plugin library

 by   asciidoctor Groovy Version: release_3_2_0 License: Apache-2.0

kandi X-RAY | asciidoctor-gradle-plugin Summary

kandi X-RAY | asciidoctor-gradle-plugin Summary

asciidoctor-gradle-plugin is a Groovy library typically used in Plugin, Spring Boot, Gradle, Maven applications. asciidoctor-gradle-plugin has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub, GitLab.

The Asciidoctor Gradle Plugin is the official means of using Asciidoctor to convert all your AsciiDoc documentation using Gradle.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              asciidoctor-gradle-plugin has a low active ecosystem.
              It has 268 star(s) with 112 fork(s). There are 23 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 89 open issues and 292 have been closed. On average issues are closed in 186 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of asciidoctor-gradle-plugin is release_3_2_0

            kandi-Quality Quality

              asciidoctor-gradle-plugin has 0 bugs and 0 code smells.

            kandi-Security Security

              asciidoctor-gradle-plugin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              asciidoctor-gradle-plugin code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              asciidoctor-gradle-plugin is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              asciidoctor-gradle-plugin releases are available to install and integrate.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of asciidoctor-gradle-plugin
            Get all kandi verified functions for this library.

            asciidoctor-gradle-plugin Key Features

            No Key Features are available at this moment for asciidoctor-gradle-plugin.

            asciidoctor-gradle-plugin Examples and Code Snippets

            No Code Snippets are available at this moment for asciidoctor-gradle-plugin.

            Community Discussions

            QUESTION

            jsonDoclet task: Javadoc generation failed
            Asked 2019-Nov-20 at 00:32

            I am trying to setup spring-auto-restdocs in my project, which uses JDK 11, Gradle 5, JUnit5 and Spring Webflux with spring boot 2.1.1.

            I've followed the normal spring-restdocs setup guide here: https://docs.spring.io/spring-restdocs/docs/current/reference/html5/

            Then also did this getting started guide: https://scacap.github.io/spring-auto-restdocs/

            My problem is that when I try to run the following gradle command: gradlew asciidoctor --stacktrace

            I get the following error:

            ...

            ANSWER

            Answered 2019-Aug-29 at 10:02

            For Java 9/10/11 support, use spring-auto-restdocs-json-doclet-jdk9 as doclet dependency.

            Source https://stackoverflow.com/questions/57370847

            QUESTION

            How to set packaging to pom in Gradle instead of defaulting to jar
            Asked 2019-Sep-25 at 00:53

            I have a project that generates a Bill of Materials (BOM). When I execute gradle build it generates an empty jar, containing only a META-INF folder.

            However I am able to publish the pom (BOM) to Nexus correctly, with the side effect of also uploading the empty jar.

            According to the maven plugin doc https://docs.gradle.org/current/userguide/maven_plugin.html we should be able to set the packaging:

            packaging archiveTask.extension

            Here, uploadTask and archiveTask refer to the tasks used for uploading and generating the archive

            How can I set the packaging to pom?

            Example of Gradle uploaded pom:

            ...

            ANSWER

            Answered 2018-Oct-10 at 17:08

            I found that the maven plugin seems to ignore the packaging property. After some experimentation, I found that it sets the packaging property to the extension of the file in your artifact. So, the way to get the packaging property set to pom is to create a dummy artifact with a file having a .pom extension, as below.

            Source https://stackoverflow.com/questions/48742876

            QUESTION

            IntelliJ Idea 2017.3 unable to start Kotlin Spring Boot App - @Configuration class may not be final
            Asked 2019-Aug-27 at 21:24

            I was able to launch a Spring Boot Kotlin App from IntelliJ 2017.3. After the last IntelliJ fix update I cannot start that application from the IDE, getting this exception:

            ...

            ANSWER

            Answered 2019-Aug-27 at 21:24

            First of all, it's all due to class Kotlin class definition:

            The open annotation on a class is the opposite of Java's final: it allows others to inherit from this class. By default, all classes in Kotlin are final

            so if you are free to modify your source code, you can make your class not final, just adding open to it's signature as follows:

            Source https://stackoverflow.com/questions/48544015

            QUESTION

            Overwrite repository definition in gradle subproject
            Asked 2019-May-29 at 09:36

            Imagine you have a gradle build with a gradle subproject. This subproject has some applied script plugin which define their own repositories like this:

            ...

            ANSWER

            Answered 2019-May-27 at 17:54

            I've just tried a little, while I have no project where the sub-projects would feature a build-script:

            Source https://stackoverflow.com/questions/56283254

            QUESTION

            How can I include Gradle Plugins in a Script plugin in Kotlin DSL?
            Asked 2019-Apr-22 at 13:24

            I split my build in 2 files. build.gradle.kts documentation.gradle.kts and I d'like to include the documentation.gradle.kts in my main buildscript.

            So I could share it with other projects. But I am getting an error about asciidoctorj not found.

            What am I missing?

            build.gradle.kts ...

            ANSWER

            Answered 2019-Apr-22 at 13:24

            Since you're not using the plugins block, you'll have to do

            Source https://stackoverflow.com/questions/54512449

            QUESTION

            asciidoctorj-pdf produces ArrayIndexOutOfBoundsException when more than one backends are defined
            Asked 2019-Jan-22 at 10:41

            I use gradle with asciidoctor-gradle-plugin to produce documentation in varioius formats. My build.gradle looks like:

            ...

            ANSWER

            Answered 2019-Jan-22 at 10:41

            As a workaround you can try using older version of asciidoctor-gradle-plugin e.g.

            Source https://stackoverflow.com/questions/54304932

            QUESTION

            Gradle doesn't copy html files into executed jar
            Asked 2018-Nov-14 at 09:29

            build.gradle

            ...

            ANSWER

            Answered 2018-Nov-14 at 09:29

            Your configuration is almost right, but you are customising the wrong task. A Spring Boot fat jar is built with the bootJar task rather than the jar task. You need to replace jar with bootJar in your build.gradle. This will result in it looking the same as the following example:

            Source https://stackoverflow.com/questions/53288507

            QUESTION

            Why is my gradle task skipped when executed during build?
            Asked 2018-Oct-31 at 14:01

            I am currently migrating an application from maven to gradle (4.10.2). In maven, a tar.gz-file would be generated with configuration, dependencies and some empty directories that would then be used by the application during runtime.

            In gradle i am using the distribution plugin to create the tar.gz using the distTar-Task.

            To create the empty directories inside the tar.gz, i create them in the build-directory and then have them copied by distTar into the tar.gz.

            I managed to finally get this by creating a task createEmptyDirectories that would just create the directories and be done with it. distTar would dependOn this task so that the directories are created before the tar.gz or so i thought.

            The task createEmptyDirectories however is always skipped during build (using gradle clean build):

            ...

            ANSWER

            Answered 2018-Oct-31 at 14:01

            First thing: you should wrap custom stuff that you want your task to do in a doLast { ... } closure.

            Source https://stackoverflow.com/questions/52951105

            QUESTION

            How to export asciidoc to ODT or ODF using gradle?
            Asked 2017-Apr-04 at 06:14

            I was trying to export asciidoc document to ODT. I found unofficial backend implementation that does the work: https://github.com/dagwieers/asciidoc-odf. My question is: how can install and use this backend using gradle? Is it even possible? I have no idea how to start.

            Here is my build.gradle that does it for PDF

            ...

            ANSWER

            Answered 2017-Mar-18 at 21:27

            Maybe not something you want to hear. I think it is no possible to generate odf files with the asciidoctor-gradle-plugin. If you look at https://github.com/asciidoctor/asciidoctor-gradle-examples which demonstrates examples for using gradle-plugin, I do not see an example for odf. :-(

            It would be cool, if you could make a feature request at https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues and hopefully, someone will start.

            Source https://stackoverflow.com/questions/42436615

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install asciidoctor-gradle-plugin

            You can download it from GitHub, GitLab.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/asciidoctor/asciidoctor-gradle-plugin.git

          • CLI

            gh repo clone asciidoctor/asciidoctor-gradle-plugin

          • sshUrl

            git@github.com:asciidoctor/asciidoctor-gradle-plugin.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link