Search Gradle plugins

org.asciidoctor.jvm.convert

Provides asciidoctor task and conventions (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.convert") version "2.4.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "org.asciidoctor.jvm.convert" version "2.4.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects