From 3da12b4f1d3018a0e4b66d01f2251f89b617854b Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Tue, 17 Jan 2017 19:59:04 +0300 Subject: Fixed problems with 1.0.6 compiler conflict --- runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runners/android-gradle-plugin/src/main') diff --git a/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt b/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt index 5ca3066a..3c1e2284 100644 --- a/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt +++ b/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt @@ -41,8 +41,8 @@ open class DokkaAndroidPlugin : Plugin { val plugin = (project.plugins.findPlugin("android") ?: project.plugins.findPlugin("android-library") ?: project.plugins.findPlugin("com.android.test")) as BasePlugin - - val variantManagerProperty = plugin::class.memberProperties.find { it.name == "variantManager" }!! + + val variantManagerProperty = plugin.javaClass.kotlin.memberProperties.find { it.name == "variantManager" }!! variantManagerProperty.isAccessible = true val variantManager = variantManagerProperty.get(plugin) as VariantManager variantManager.variantDataList.flatMapTo(allVariantsClassPath) { it.variantConfiguration.compileClasspath } -- cgit