mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -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 {
|
companion object {
|
||||||
val DEFAULT_PRODUCT_FLAVOR = ProductFlavorConfig("")
|
val DEFAULT_PRODUCT_FLAVOR = ProductFlavorConfig("")
|
||||||
val DEFAULT_BUILD_TYPE = BuildTypeConfig("debug")
|
val DEFAULT_BUILD_TYPE = BuildTypeConfig("")
|
||||||
|
|
||||||
fun allVariants(project: Project): List<Variant> {
|
fun allVariants(project: Project): List<Variant> {
|
||||||
val result = arrayListOf<Variant>()
|
val result = arrayListOf<Variant>()
|
||||||
|
|
|
@ -105,10 +105,7 @@ open public class Project(
|
||||||
productFlavors.put(name, pf)
|
productFlavors.put(name, pf)
|
||||||
}
|
}
|
||||||
|
|
||||||
val buildTypes = hashMapOf(
|
val buildTypes = hashMapOf<String, BuildTypeConfig>()
|
||||||
"debug" to BuildTypeConfig("debug"),
|
|
||||||
"release" to BuildTypeConfig("release")
|
|
||||||
)
|
|
||||||
|
|
||||||
fun addBuildType(name: String, bt: BuildTypeConfig) {
|
fun addBuildType(name: String, bt: BuildTypeConfig) {
|
||||||
buildTypes.put(name, bt)
|
buildTypes.put(name, bt)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue