Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Dokka Gradle Plugin #410

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import org.jetbrains.dokka.gradle.*
import java.net.URL
import java.net.URI

plugins {
id("org.jetbrains.dokka")
Expand All @@ -21,13 +21,13 @@ tasks.withType<AbstractDokkaTask>().configureEach {
)
}

tasks.withType<DokkaTaskPartial>().configureEach {
dokka {
fzhinkin marked this conversation as resolved.
Show resolved Hide resolved
dokkaSourceSets.configureEach {
includes.from("Module.md")

sourceLink {
localDirectory = rootDir
remoteUrl = URL("https://github.com/kotlin/kotlinx-io/tree/master")
remoteUrl("https://github.com/kotlin/kotlinx-io/tree/master")
remoteLineSuffix = "#L"
}

Expand Down
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ apiValidation {
dependencies {
kover(project(":kotlinx-io-core"))
kover(project(":kotlinx-io-bytestring"))

dokka(project(":kotlinx-io-bytestring"))
dokka(project(":kotlinx-io-core"))
}

kover {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ kotlin.code.style=official
org.gradle.jvmargs=-Xmx4G
nativeBenchmarksEnabled=true
kotlin.mpp.applyDefaultHierarchyTemplate=false
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
kotlin = "2.0.0"
java = "8"
multi-release-toolchain = "17"
dokka = "1.9.20"
dokka = "2.0.0-Beta"
kover = "0.8.2"
bcv = "0.16.3"
benchmark = "0.4.11"
Expand Down