Skip to content

Commit 5c8623f

Browse files
authored
Add @internalapi annotation to japicmp exclusions (#14597)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
1 parent 8e493f3 commit 5c8623f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

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

3839
### Deprecated
3940

server/build.gradle

+1
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)