Skip to content

Commit 36d9384

Browse files
Add @internalapi annotation to japicmp exclusions (#14597)
Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 5c8623f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 79e9bc2 commit 36d9384

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
@@ -32,6 +32,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3232
- Make the class CommunityIdProcessor final ([#14448](https://github.com/opensearch-project/OpenSearch/pull/14448))
3333
- Updated the `indices.query.bool.max_clause_count` setting from being static to dynamically updateable ([#13568](https://github.com/opensearch-project/OpenSearch/pull/13568))
3434
- Allow @InternalApi annotation on classes not meant to be constructed outside of the OpenSearch core ([#14575](https://github.com/opensearch-project/OpenSearch/pull/14575))
35+
- Add @InternalApi annotation to japicmp exclusions ([#14597](https://github.com/opensearch-project/OpenSearch/pull/14597))
3536

3637
### Deprecated
3738

server/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ tasks.register("japicmp", me.champeau.gradle.japicmp.JapicmpTask) {
445445
failOnModification = true
446446
ignoreMissingClasses = true
447447
annotationIncludes = ['@org.opensearch.common.annotation.PublicApi', '@org.opensearch.common.annotation.DeprecatedApi']
448+
annotationExcludes = ['@org.opensearch.common.annotation.InternalApi']
448449
txtOutputFile = layout.buildDirectory.file("reports/java-compatibility/report.txt")
449450
htmlOutputFile = layout.buildDirectory.file("reports/java-compatibility/report.html")
450451
dependsOn downloadJapicmpCompareTarget

0 commit comments

Comments
 (0)