refactor(build): centralize Dokka documentation generation (#4171)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich 2026-01-08 17:55:07 -06:00 committed by GitHub
parent 7744a42e1c
commit 02f99bd7bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 89 additions and 44 deletions

View file

@ -254,26 +254,6 @@ dependencies {
dokkaPlugin(libs.dokka.android.documentation.plugin)
}
dokka {
moduleName.set("Meshtastic App")
dokkaSourceSets.register("main") {
sourceLink {
enableJdkDocumentationLink.set(true)
enableKotlinStdLibDocumentationLink.set(true)
enableJdkDocumentationLink.set(true)
reportUndocumented.set(true)
localDirectory.set(file("src/main/java"))
remoteUrl("https://github.com/geeksville/Meshtastic-Android/app/src/main/java")
remoteLineSuffix.set("#L")
}
}
dokkaPublications.html { suppressInheritedMembers.set(true) }
dokkaGeneratorIsolation = ProcessIsolation {
// Configures heap size
maxHeapSize = "6g"
}
}
aboutLibraries {
export { excludeFields = listOf("generated") }
library {