anchor.diff:  
   [source,groovy]
   ----
  -task japicmp(type: me.champeau.gradle.japicmp.JapicmpTask) {
  +tasks.register("japicmp", me.champeau.gradle.japicmp.JapicmpTask) {
       oldClasspath.from(files('path/to/reference.jar'))
       newClasspath.from(tasks.named('jar'))
       onlyModified = true
       failOnModification = true
  -    txtOutputFile = file("$buildDir/reports/japi.txt")
  +    txtOutputFile = layout.buildDirectory.file("reports/japi.txt")
   }
   ----
   
  
positive.code: 
  [source,groovy]
  ----
  task japicmp(type: me.champeau.gradle.japicmp.JapicmpTask) {
     ...
     richReport {
        ...
  
negative.code:     }
  }
  apply plugin: 'me.champeau.gradle.japicmp'
  ----
  
  == Configuration
  