fix(docs): correct dokka plugin ID based on official documentation
Some checks failed
Update Wiki Documentation / generate-docs (push) Failing after 2m13s
Some checks failed
Update Wiki Documentation / generate-docs (push) Failing after 2m13s
This commit is contained in:
@@ -1,23 +1,13 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath("org.jetbrains.kotlin:dokka-gradle-plugin:1.9.20")
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.android.application) apply false
|
||||
alias(libs.plugins.kotlin.jvm) apply false
|
||||
alias(libs.plugins.dokka) apply false
|
||||
}
|
||||
|
||||
apply(plugin = "org.jetbrains.kotlin.dokka")
|
||||
|
||||
// Global Dokka configuration for Wiki
|
||||
subprojects {
|
||||
plugins.withType<org.jetbrains.kotlin.dokka.gradle.DokkaPlugin> {
|
||||
tasks.withType<org.jetbrains.kotlin.dokka.gradle.AbstractDokkaTask>().configureEach {
|
||||
plugins.withType<org.jetbrains.dokka.gradle.DokkaPlugin> {
|
||||
tasks.withType<org.jetbrains.dokka.gradle.AbstractDokkaTask>().configureEach {
|
||||
val format = name.substringAfter("dokka").substringBefore("MultiModule").lowercase()
|
||||
outputDirectory.set(file("${project.rootDir}/docs/wiki/$format/${project.name}"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user