mirror of
https://github.com/JakeWharton/mosaic.git
synced 2025-10-30 18:26:59 +08:00
Enable strict validation on CI (#467)
This commit is contained in:
@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user