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: }
  
  apply plugin: 'org.asciidoctor.convert'
  ----
  
  == Usage
  
negative.code: 
  Unlike `sourceDir` files can be copied from anywhere in the filesystem.
  
  For the Gradle Kotlin DSL, the example above looks like this:footnoteref:[kotlin-delegate]
  [source,kotlin]
  .build.gradle.kts
  ----
  resources(delegateClosureOf<CopySpec> {
    from("src/resources/images") {
      include("images/**/*.png")
      exclude("images/**/notThisOne.png")
    }
  
    from("$buildDir/downloads") {
      include("deck.js/**")
    }
  
    into("./images")
  })
  ----
  
  If `resources` is never set, the default behaviour is as if the following was called
  [source,groovy]
  .build.gradle
  