搜索Gradle插件

org.asciidoctor.base

所有者: Andres Almiray

所有Asciidoctor文档转换插件(AsciidoctorJ & AsciidoctorJS)的基插件(如果您需要Gradle的AsciidoctorJ生产版,请使用'org.asciidoctor.convert'的1.5.x版本)

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

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

使用插件DSL

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

使用旧版插件应用

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

apply(plugin = "org.asciidoctor.base")

使用插件DSL

plugins {
  id "org.asciidoctor.base" version "4.0.3"
}

使用旧版插件应用

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

apply plugin: "org.asciidoctor.base"

了解如何将插件应用于子项目