Skip to content

Commit

Permalink
Enable strict validation on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Sep 7, 2024
1 parent b7516bc commit b21ae24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ publishing {

apiValidation {
klib.enabled = true

// We run API checks on a Mac where all possible Kotlin targets are available.
// Setting this to true will allow us to catch when targets are removed.
klib.strictValidation = System.getenv("CI") == "true"
}

0 comments on commit b21ae24

Please sign in to comment.