Ignore METHOD_NEW_DEFAULT binary compatibility (original) (raw)

We check binary compatibility in the build against the previous version to catch incompatibilities introduced. This catches new default methods on interfaces, which we don't want blocking the build, since we expect this to be compatible. This came up in #3175 (comment). It was brought up in the japicmp repo in siom79/japicmp#201. However, it looks like we're missing a straightforward way to configure accepting METHOD_NEW_DEFAULT changes in the Gradle plugin. It has been requested in melix/japicmp-gradle-plugin#43. We may have to do a temporary workaround until that is resolved.