com.toasttab.expediter.gradle.config.AndroidSpec.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin Show documentation
Show all versions of plugin Show documentation
Check ABI compatibility at build time
The newest version!
package com.toasttab.expediter.gradle.config
import com.toasttab.expediter.gradle.BuildConfig
open class AndroidSpec {
var sdk: Int? = null
var coreLibraryDesugaring: Boolean = false
var gummyBearsVersion: String = BuildConfig.GUMMY_BEARS_VERSION
fun artifact(): String {
val base = "com.toasttab.android:gummy-bears-api-$sdk:$gummyBearsVersion"
return if (coreLibraryDesugaring) {
"$base:coreLib2@expediter"
} else {
"$base@expediter"
}
}
}