build: add revapi to core api modules (#361)

this way we can detect API/ABI breaks between versions. it'll compare to the previous tag.
This commit is contained in:
Alexander Söderberg 2022-05-28 11:20:14 +02:00 committed by Jason
parent 236cd34a32
commit 46a3f7129f
6 changed files with 10 additions and 0 deletions

View file

@ -15,6 +15,7 @@ dependencies {
implementation(libs.gradleKotlinJvm)
implementation(libs.gradleDokka)
implementation(libs.spotless)
implementation(libs.revapi)
// https://github.com/gradle/gradle/issues/15383#issuecomment-779893192
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))

View file

@ -1,5 +1,6 @@
plugins {
id("cloud.base-conventions")
id("com.palantir.revapi")
}
dependencies {

View file

@ -1,5 +1,6 @@
plugins {
id("cloud.base-conventions")
id("com.palantir.revapi")
}
dependencies {

View file

@ -1,5 +1,6 @@
plugins {
id("cloud.base-conventions")
id("com.palantir.revapi")
}
dependencies {

View file

@ -1,3 +1,4 @@
plugins {
id("cloud.base-conventions")
id("com.palantir.revapi")
}

View file

@ -60,6 +60,7 @@ versions:
gradleTestLogger: 3.1.0
gradleErrorprone: 2.0.2
spotless: *spotless
revapi: 1.7.0
dependencies:
checkerQual:
@ -248,6 +249,10 @@ dependencies:
group: com.diffplug.spotless
name: spotless-plugin-gradle
version: { ref: spotless }
revapi:
group: com.palantir.gradle.revapi
name: gradle-revapi
version: { ref: revapi }
bundles:
coroutines: