diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2016-12-14 20:23:24 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2016-12-14 20:23:24 +0300 |
commit | 08fbbc554b1267d6f7803887ad0d1aa0a796498a (patch) | |
tree | 7156318240e5f855942096058e50356ee98e1f34 /runners/android-gradle-plugin/src/main/kotlin | |
parent | 06407b72685cc2a5fdd0ff42bca2e0eb206a99fd (diff) | |
download | dokka-08fbbc554b1267d6f7803887ad0d1aa0a796498a.tar.gz dokka-08fbbc554b1267d6f7803887ad0d1aa0a796498a.tar.bz2 dokka-08fbbc554b1267d6f7803887ad0d1aa0a796498a.zip |
Hotfix 0.9.11, now dokka-android should work properly
Diffstat (limited to 'runners/android-gradle-plugin/src/main/kotlin')
-rw-r--r-- | runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt (renamed from runners/android-gradle-plugin/src/main/kotlin/main.kt) | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runners/android-gradle-plugin/src/main/kotlin/main.kt b/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt index 11040b2a..5ca3066a 100644 --- a/runners/android-gradle-plugin/src/main/kotlin/main.kt +++ b/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt @@ -16,6 +16,8 @@ open class DokkaAndroidPlugin : Plugin<Project> { val allVariantsClassPath = mutableSetOf<File>() override fun apply(project: Project) { + + DokkaVersion.loadFrom(javaClass.getResourceAsStream("/META-INF/gradle-plugins/org.jetbrains.dokka-android.properties")) project.tasks.create("dokka", DokkaAndroidTask::class.java).apply { moduleName = project.name outputDirectory = File(project.buildDir, "dokka").absolutePath |