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

Version 2.0.0-rc.1 (latest)

Created 18 February 2019.

Simplifies convesion of asciidoc documetns to PDF

Using the plugins DSL:

plugins {
  id "org.asciidoctor.jvm.pdf" version "2.0.0-rc.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.asciidoctor:asciidoctor-gradle-jvm:2.0.0-rc.1"
  }
}

apply plugin: "org.asciidoctor.jvm.pdf"

Using the plugins DSL:

plugins {
  id("org.asciidoctor.jvm.pdf") version "2.0.0-rc.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.asciidoctor:asciidoctor-gradle-jvm:2.0.0-rc.1")
  }
}

apply(plugin = "org.asciidoctor.jvm.pdf")

Learn how to apply plugins to subprojects