anchor.diff:  
   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].
   
  +NOTE: The https://github.com/gradle/kotlin-dsl[Gradle Kotlin DSL] is not properly supported by this plugin yet but it can be used with the GKD. Examples and workarounds are described below.
  +
   ifndef::env-site[]
   == Contributing
   
  
positive.code: 
  Unlike `sourceDir` files can be copied from anywhere in the filesystem.
  
  If `resources` is never set, the default behaviour is as if the following was called
  [source,groovy]
  .build.gradle
  
negative.code: 
  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
  