docs: Upgrade to Dokka 2.0.0-Beta (#3054)
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import org.jetbrains.dokka.gradle.DokkaTask
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.kotlinter)
|
||||
alias(libs.plugins.dokka)
|
||||
@@ -38,12 +36,21 @@ dependencies {
|
||||
androidTestImplementation(libs.testRules)
|
||||
}
|
||||
|
||||
tasks.withType<DokkaTask> {
|
||||
dokka {
|
||||
moduleName.set("MapLibre Native Android")
|
||||
|
||||
dokkaSourceSets {
|
||||
named("main") {
|
||||
main {
|
||||
includes.from("Module.md")
|
||||
|
||||
sourceLink {
|
||||
remoteUrl("https://github.com/maplibre/maplibre-native/tree/main/platform/android/")
|
||||
localDirectory.set(rootDir)
|
||||
}
|
||||
|
||||
// TODO add externalDocumentationLinks when these get dokka or javadocs:
|
||||
// - https://github.com/maplibre/maplibre-java
|
||||
// - https://github.com/maplibre/maplibre-gestures-android
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user