diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-01-17 19:59:04 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-01-17 19:59:04 +0300 |
commit | 3da12b4f1d3018a0e4b66d01f2251f89b617854b (patch) | |
tree | 0e9e19bc2de5e68f8c1666724b25cc3d0cf381c8 /runners/android-gradle-plugin/src/main | |
parent | 55fbf4f5ce051396de00b02dad3f3c57368d3685 (diff) | |
download | dokka-3da12b4f1d3018a0e4b66d01f2251f89b617854b.tar.gz dokka-3da12b4f1d3018a0e4b66d01f2251f89b617854b.tar.bz2 dokka-3da12b4f1d3018a0e4b66d01f2251f89b617854b.zip |
Fixed problems with 1.0.6 compiler conflict
Diffstat (limited to 'runners/android-gradle-plugin/src/main')
-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 } |