Skip to content

Commit

Permalink
[backport] Build: Let revapi compare API compatibility against apache…
Browse files Browse the repository at this point in the history
…-iceberg-1.0.0 (apache#6053) (apache#32)

(cherry picked from commit c7aa5c8)

Co-authored-by: Ajantha Bhat <[email protected]>
  • Loading branch information
puchengy and ajantha-bhat authored Feb 12, 2023
1 parent 165c5e8 commit 58330d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/api-binary-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ on:
pull_request:
paths:
- 'api/**'
- '.palantir/revapi.yml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
2 changes: 0 additions & 2 deletions .palantir/revapi.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
versionOverrides:
org.apache.iceberg:iceberg-api:apache-iceberg-0.14.0: "0.14.0"
acceptedBreaks:
apache-iceberg-0.14.0:
org.apache.iceberg:iceberg-api:
Expand Down
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@ project(':iceberg-bundled-guava') {
project(':iceberg-api') {
apply plugin: 'com.palantir.revapi'

revapi {
oldGroup = "org.apache.iceberg"
oldName = "iceberg-api"
oldVersion = "1.0.0"
}

dependencies {
implementation project(path: ':iceberg-bundled-guava', configuration: 'shadow')
compileOnly "com.google.errorprone:error_prone_annotations"
Expand Down

0 comments on commit 58330d0

Please sign in to comment.