Issue with spotbugs 3.0.0 plug in and flat directories

flatDir sucks! Have you considered using a maven directory structure in a local folder instead? This way you can benefit from group/artifact/version semantics, include poms with your artifacts and also javadocs and sources etc. With flatDir you lose these dependency resolution features.

Eg:

repositories {
   maven {
      url uri('path/to/repo') 
   } 
} 

Related: Include local javadoc with gradle