When we use Gradle 4.0-milestone-2 we get AbstractMethodError with our custom implementations of org.gradle.api.reporting.SingleFileReport:
Caused by: java.lang.AbstractMethodError: com.linkedin.ligradle.quality.findbugs.LiFindBugsPlugin$RichXmlReport.setDestination(Ljava/io/File;)V
It looks like we need to recompile our plugin code with Gradle 4.0 to resolve the problem (and tweak the implementation to add new methods). However, we cannot do it right now because this would effectively force everybody at LinkedIn to use Gradle 4.0.
- Is this a known incompatible change that is intended to go out with 4.0 and we need to resolve it by recompiling our plugins?
- Any workarounds we can use? Can I use some Groovy magic to create instances of SingleFileReport that would work with Gradle 3 and Gradle 4?
We are looking forward to using Gradle 4.0 at LinkedIn!