Test: speed up integration test by not building release variant
This commit is contained in:
+2
-2
@@ -99,13 +99,13 @@ abstract class KotlinAndroid3GradleIT(
|
|||||||
|
|
||||||
// Check that Kotlin tasks were created for both lib and feature variants:
|
// Check that Kotlin tasks were created for both lib and feature variants:
|
||||||
val kotlinTaskNames =
|
val kotlinTaskNames =
|
||||||
listOf("Debug", "Release").flatMap { buildType ->
|
listOf("Debug").flatMap { buildType ->
|
||||||
listOf("Flavor1", "Flavor2").flatMap { flavor ->
|
listOf("Flavor1", "Flavor2").flatMap { flavor ->
|
||||||
listOf("", "Feature").map { isFeature -> ":Lib:compile$flavor$buildType${isFeature}Kotlin" }
|
listOf("", "Feature").map { isFeature -> ":Lib:compile$flavor$buildType${isFeature}Kotlin" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
project.build(":Lib:assemble") {
|
project.build(":Lib:assembleDebug") {
|
||||||
assertSuccessful()
|
assertSuccessful()
|
||||||
assertTasksExecuted(*kotlinTaskNames.toTypedArray())
|
assertTasksExecuted(*kotlinTaskNames.toTypedArray())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user