Skip to content

Commit aa5c39b

Browse files
authored
Detect Breaking Changes check does not fail on new method added to an @publicapi interface (opensearch-project#16585)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
1 parent 9f790ee commit aa5c39b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ tasks.register("japicmp", me.champeau.gradle.japicmp.JapicmpTask) {
414414
onlyModified = true
415415
failOnModification = true
416416
ignoreMissingClasses = true
417+
failOnSourceIncompatibility = true
417418
annotationIncludes = ['@org.opensearch.common.annotation.PublicApi', '@org.opensearch.common.annotation.DeprecatedApi']
418419
annotationExcludes = ['@org.opensearch.common.annotation.InternalApi']
419420
txtOutputFile = layout.buildDirectory.file("reports/java-compatibility/report.txt")

0 commit comments

Comments
 (0)