diff options
Diffstat (limited to 'runners/android-gradle-plugin/src/main')
-rw-r--r-- | runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt (renamed from runners/android-gradle-plugin/src/main/kotlin/main.kt) | 2 | ||||
-rw-r--r-- | runners/android-gradle-plugin/src/main/resources/META-INF/gradle-plugins/org.jetbrains.dokka-android.properties | 3 |
2 files changed, 4 insertions, 1 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 diff --git a/runners/android-gradle-plugin/src/main/resources/META-INF/gradle-plugins/org.jetbrains.dokka-android.properties b/runners/android-gradle-plugin/src/main/resources/META-INF/gradle-plugins/org.jetbrains.dokka-android.properties index 03b28d93..b204da7b 100644 --- a/runners/android-gradle-plugin/src/main/resources/META-INF/gradle-plugins/org.jetbrains.dokka-android.properties +++ b/runners/android-gradle-plugin/src/main/resources/META-INF/gradle-plugins/org.jetbrains.dokka-android.properties @@ -1 +1,2 @@ -implementation-class=org.jetbrains.dokka.gradle.DokkaAndroidPlugin
\ No newline at end of file +implementation-class=org.jetbrains.dokka.gradle.DokkaAndroidPlugin +dokka-version=<version>
\ No newline at end of file |