diff options
Diffstat (limited to 'runners/android-gradle-plugin/src/main/kotlin')
-rw-r--r-- | runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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<Project> { 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 } |