Skip to content

Commit

Permalink
Build: Add binary compatibility checks via revapi gradle plugin (#4638)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbendick authored May 14, 2022
1 parent f853662 commit 4a0a3a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .palantir/revapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
versionOverrides:
org.apache.iceberg:iceberg-api:release-base-0.13.0: "0.13.0"
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ buildscript {
classpath 'gradle.plugin.org.inferred:gradle-processors:3.3.0'
classpath 'me.champeau.jmh:jmh-gradle-plugin:0.6.6'
classpath "com.github.alisiikh:gradle-scalastyle-plugin:3.4.1"
classpath 'com.palantir.gradle.revapi:gradle-revapi:1.7.0'
}
}

Expand Down Expand Up @@ -191,6 +192,8 @@ project(':iceberg-bundled-guava') {
}

project(':iceberg-api') {
apply plugin: 'com.palantir.revapi'

dependencies {
implementation project(path: ':iceberg-bundled-guava', configuration: 'shadow')
compileOnly "com.google.errorprone:error_prone_annotations"
Expand Down
1 change: 1 addition & 0 deletions dev/.rat-excludes
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ build
.rat-excludes
LICENSE
NOTICE
revapi.yml
gradlew
examples/*
gradle/*
Expand Down

0 comments on commit 4a0a3a1

Please sign in to comment.