Skip to content

Commit cab3167

Browse files
committed
Fix japicmp configuration by treating abstract-to-default method changes as non-breaking
Signed-off-by: Andriy Redko <[email protected]>
1 parent 55d9a19 commit cab3167

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,8 @@ tasks.named("sourcesJar").configure {
443443
/** Compares the current build against a laltest released version or the version supplied through 'japicmp.compare.version' system property */
444444
tasks.register("japicmp", me.champeau.gradle.japicmp.JapicmpTask) {
445445
logger.info("Comparing public APIs from ${version} to ${japicmpCompareTarget}")
446+
// See please https://github.com/siom79/japicmp/issues/201
447+
compatibilityChangeExcludes = [ "METHOD_ABSTRACT_NOW_DEFAULT" ]
446448
oldClasspath.from(files("${buildDir}/japicmp-target/opensearch-${japicmpCompareTarget}.jar"))
447449
newClasspath.from(tasks.named('jar'))
448450
onlyModified = true

0 commit comments

Comments
 (0)