Files
mosaic/publish.gradle

18 lines
619 B
Groovy

apply plugin: 'com.vanniktech.maven.publish'
apply plugin: 'org.jetbrains.kotlinx.binary-compatibility-validator'
apply plugin: 'org.jetbrains.dokka'
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"
nonPublicMarkers += [
"com.jakewharton.mosaic.animation.ExperimentalAnimationSpecApi",
"com.jakewharton.mosaic.animation.ExperimentalTransitionApi",
"com.jakewharton.mosaic.animation.InternalAnimationApi"
]
}