More fixes for Android Studio 3.2 compatibility

This commit is contained in:
Raluca Sauciuc
2018-04-23 11:41:33 -07:00
committed by Sergey Igushkin
parent 76cd20c574
commit 258cba2cf8
@@ -555,7 +555,7 @@ abstract class AbstractAndroidProjectHandler<V>(private val kotlinConfigurationT
project.afterEvaluate { project ->
if (project != null) {
val androidPluginIds = listOf("android", "com.android.application", "android-library", "com.android.library",
"com.android.test", "com.android.feature")
"com.android.test", "com.android.feature", "com.android.dynamic-feature")
val plugin = androidPluginIds.asSequence()
.mapNotNull { project.plugins.findPlugin(it) as? BasePlugin }
.firstOrNull()