Skip to content

Commit

Permalink
Fix japicmp configuration by treating abstract-to-default method chan…
Browse files Browse the repository at this point in the history
…ges as non-breaking (opensearch-project#16181)

Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored and dk2k committed Oct 17, 2024
1 parent 2d8d507 commit c85ebbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ tasks.named("sourcesJar").configure {
/** Compares the current build against a laltest released version or the version supplied through 'japicmp.compare.version' system property */
tasks.register("japicmp", me.champeau.gradle.japicmp.JapicmpTask) {
logger.info("Comparing public APIs from ${version} to ${japicmpCompareTarget}")
// See please https://github.com/siom79/japicmp/issues/201
compatibilityChangeExcludes = [ "METHOD_ABSTRACT_NOW_DEFAULT" ]
oldClasspath.from(files("${buildDir}/japicmp-target/opensearch-${japicmpCompareTarget}.jar"))
newClasspath.from(tasks.named('jar'))
onlyModified = true
Expand Down

0 comments on commit c85ebbc

Please sign in to comment.