aboutsummaryrefslogtreecommitdiff
path: root/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt
diff options
context:
space:
mode:
Diffstat (limited to 'runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt')
-rw-r--r--runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt b/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt
index 5d8cadfc..5db2ad2f 100644
--- a/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt
+++ b/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt
@@ -46,7 +46,7 @@ private class AndroidSdkProvider(private val project: Project) : SdkProvider {
private val allVariantsClassPath by lazy {
try {
- variantManager?.variantDataList?.flatMap { it.variantConfiguration.compileClasspath }.orEmpty()
+ variantManager?.variantDataList?.flatMap { it.variantConfiguration.compileClasspath }!!
} catch(e: Exception) {
throw Exception("Unsupported version of android build tools, could not access variant manager.", e)
}