Skip to content

Commit

Permalink
Update plugin dokka to v1.6.10 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
juul-mobile-bot authored Jan 11, 2022
1 parent b6f935f commit f341c0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build/dokkaHtmlMultiModule
folder: build/gh-pages
8 changes: 2 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ plugins {
alias(libs.plugins.dokka)
}

tasks.withType<org.jetbrains.dokka.gradle.DokkaMultiModuleTask>().configureEach {
val dokkaDir = buildDir.resolve("dokkaHtmlMultiModule")
outputDirectory.set(dokkaDir)
doLast {
dokkaDir.resolve("-modules.html").renameTo(dokkaDir.resolve("index.html"))
}
tasks.dokkaHtmlMultiModule.configure {
outputDirectory.set(buildDir.resolve("gh-pages"))
}

allprojects {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", ve
kotlin-extensions = { module = "org.jetbrains.kotlin-wrappers:kotlin-extensions", version.ref = "extensions" }

[plugins]
dokka = { id = "org.jetbrains.dokka", version = "1.4.32" }
dokka = { id = "org.jetbrains.dokka", version = "1.6.10" }
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
kotlinter = { id = "org.jmailen.kotlinter", version = "3.4.4" }
maven-publish = { id = "com.vanniktech.maven.publish", version = "0.15.1" }

0 comments on commit f341c0b

Please sign in to comment.