mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Fix tests.
This commit is contained in:
parent
146d6702c5
commit
dfdd5ba06a
2 changed files with 2 additions and 5 deletions
|
@ -131,7 +131,7 @@ class Variant(val initialProductFlavor: ProductFlavorConfig? = null,
|
|||
|
||||
companion object {
|
||||
val DEFAULT_PRODUCT_FLAVOR = ProductFlavorConfig("")
|
||||
val DEFAULT_BUILD_TYPE = BuildTypeConfig("debug")
|
||||
val DEFAULT_BUILD_TYPE = BuildTypeConfig("")
|
||||
|
||||
fun allVariants(project: Project): List<Variant> {
|
||||
val result = arrayListOf<Variant>()
|
||||
|
|
|
@ -105,10 +105,7 @@ open public class Project(
|
|||
productFlavors.put(name, pf)
|
||||
}
|
||||
|
||||
val buildTypes = hashMapOf(
|
||||
"debug" to BuildTypeConfig("debug"),
|
||||
"release" to BuildTypeConfig("release")
|
||||
)
|
||||
val buildTypes = hashMapOf<String, BuildTypeConfig>()
|
||||
|
||||
fun addBuildType(name: String, bt: BuildTypeConfig) {
|
||||
buildTypes.put(name, bt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue