anchor.diff:  }
   
   apply plugin: 'org.asciidoctor.convert'
  +----
  +
  +Use the following snippet with the https://github.com/gradle/kotlin-dsl[Gradle Kotlin DSL]:
  +
  +[source,kotlin]
  +[subs=attributes+]
  +.build.gradle.kts
  +----
  +plugins {
  +    id("org.asciidoctor.convert") version "{version-published}"
  +}
   ----
   
   == Usage
  
positive.code: 
  NOTE: This is a port of the {asciidoctor-maven-plugin}[Asciidoctor Maven Plugin] project founded by {lightguard}[@LightGuard] and relies on {asciidoctorj}[AsciidoctorJ] founded by {lordofthejars}[@lordofthejars].
  
  ifndef::env-site[]
  == Contributing
  
  
negative.code:                 toc                 : '',
                  idprefix            : '',
                  idseparator         : '-'
  }
  ----
  
  Or in the Gradle Kotlin DSL:
  
  [source,kotlin]
  .build.gradle.kts
  ----
  tasks {
    "asciidoctor"(AsciidoctorTask::class) { <1>
      outputDir = file("$buildDir/docs")
      options(mapOf("doctype" to "book", "ruby" to "erubis"))
  
      attributes(
        mapOf(
          "source-highlighter" to "coderay",
          "toc"                to "",
          "idprefix            to "",
          "idseparator"        to "-"
        )
      )
    }
  }
  ----
  <1> append below the line: `apply plugin: 'org.asciidoctor.convert'`
  