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:
parent
236cd34a32
commit
46a3f7129f
6 changed files with 10 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
id("com.palantir.revapi")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
id("com.palantir.revapi")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
id("com.palantir.revapi")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
id("com.palantir.revapi")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue