anchor.diff:  
   Paths defined in this PatternSet are resolved relative to the `sourceDir`.
   
  +For the Gradle Kotlin DSL a workaround is needed:footnoteref:[kotlin-delegate,The method delegates to a type that Kotlin cannot infer that from the byte-code. The function `delegateClosureOf<T>()` from the GKD is used to provide the information to Kotlin.]
  +
  +[source,kotlin]
  +.build.gradle.kts
  +----
  +tasks {
  +  "asciidoctor"(AsciidoctorTask::class) {
  +    sourceDir = file("docs")
  +    sources(delegateClosureOf<PatternSet> {
  +      include("toplevel.adoc", "another.adoc", "third.adoc")
  +    })
  +    outputDir = file("build/docs")
  +  }
  +}
  +----
  +
   === Processing Auxiliary Files
   
   Some backends require that additional files be copied across. The most common example are images for HTML backends. For
  
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: }
  
  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
  