1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-29 17:38:12 -07:00

Dependencies for variants.

Fixes https://github.com/cbeust/kobalt/issues/204
This commit is contained in:
Cedric Beust 2016-05-21 09:30:14 -07:00
parent 24229a8714
commit 7ef80787dd
7 changed files with 88 additions and 48 deletions

View file

@ -188,7 +188,7 @@ class Variant(val initialProductFlavor: ProductFlavorConfig? = null,
override fun toString() = toTask("")
companion object {
val DEFAULT_PRODUCT_FLAVOR = ProductFlavorConfig("")
val DEFAULT_PRODUCT_FLAVOR = ProductFlavorConfig(null, "")
val DEFAULT_BUILD_TYPE = BuildTypeConfig(null, "")
fun allVariants(project: Project): List<Variant> {