Search Gradle plugins

org.asciidoctor.jvm.pdf

Simplifies convesion of asciidoc documetns to PDF (If you need a production-ready version of the AsciidoctorJ plugin for Gradle use a 1.5.x release of 'org.asciidoctor.convert' instead)

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

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

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.asciidoctor.jvm.pdf") version "4.0.4"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("org.asciidoctor.jvm.pdf:org.asciidoctor.jvm.pdf.gradle.plugin:4.0.4")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.asciidoctor.jvm.pdf")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.asciidoctor.jvm.pdf:org.asciidoctor.jvm.pdf.gradle.plugin:4.0.4")
      }
    }
    
    apply(plugin = "org.asciidoctor.jvm.pdf")
  • Applying plugins to all subprojects .