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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "org.asciidoctor.jvm.pdf" version "4.0.3"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects