Skip to content

Commit

Permalink
Add ability to auto-generate docs for forage-android
Browse files Browse the repository at this point in the history
Restore changes
  • Loading branch information
djoksimo committed Jan 3, 2024
1 parent 76a253b commit 499e3bf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ local.properties
SecretRingKey.gpg
/buildSrc/build/
*.jks

# Dokka HTML documentation
reference-docs/
14 changes: 14 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@ plugins {
id 'com.google.dagger.hilt.android' version '2.44' apply false
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
id 'org.jetbrains.kotlinx.kover' version '0.6.1'
id "org.jetbrains.dokka" version "1.9.0"
}

subprojects {
if (name != "forage-android") return

apply plugin: 'org.jetbrains.dokka'

tasks.named("dokkaHtml", org.jetbrains.dokka.gradle.DokkaTask.class) {
outputDirectory.set(file("${rootDir}/reference-docs"))
pluginsMapConfiguration.set(
["org.jetbrains.dokka.base.DokkaBase": """{ "separateInheritedMembers": true}"""]
)
}
}

spotless {
Expand Down

0 comments on commit 499e3bf

Please sign in to comment.