Skip to content

Commit 0647a06

Browse files
retaakolarkunnu
authored andcommitted
Add @internalapi annotation to japicmp exclusions (opensearch-project#14597)
Signed-off-by: Andriy Redko <[email protected]>
1 parent 3bdaf0a commit 0647a06

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3535
- Updated the `indices.query.bool.max_clause_count` setting from being static to dynamically updateable ([#13568](https://github.com/opensearch-project/OpenSearch/pull/13568))
3636
- Make the class CommunityIdProcessor final ([#14448](https://github.com/opensearch-project/OpenSearch/pull/14448))
3737
- Allow @InternalApi annotation on classes not meant to be constructed outside of the OpenSearch core ([#14575](https://github.com/opensearch-project/OpenSearch/pull/14575))
38+
- Add @InternalApi annotation to japicmp exclusions ([#14597](https://github.com/opensearch-project/OpenSearch/pull/14597))
3839

3940
### Deprecated
4041

server/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ tasks.register("japicmp", me.champeau.gradle.japicmp.JapicmpTask) {
409409
failOnModification = true
410410
ignoreMissingClasses = true
411411
annotationIncludes = ['@org.opensearch.common.annotation.PublicApi', '@org.opensearch.common.annotation.DeprecatedApi']
412+
annotationExcludes = ['@org.opensearch.common.annotation.InternalApi']
412413
txtOutputFile = layout.buildDirectory.file("reports/java-compatibility/report.txt")
413414
htmlOutputFile = layout.buildDirectory.file("reports/java-compatibility/report.html")
414415
dependsOn downloadJapicmpCompareTarget

0 commit comments

Comments
 (0)