Skip to content

Commit

Permalink
Use a local version of stdlib's package-list file for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elizarov committed Mar 6, 2020
1 parent d7de5f5 commit 3592a8c
Show file tree
Hide file tree
Showing 2 changed files with 236 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gradle/dokka.gradle
Expand Up @@ -35,6 +35,13 @@ dokka {
outputFormat = 'kotlin-website'
dependsOn(project.configurations.dokkaStubs)

noStdlibLink = true

externalDocumentationLink {
packageListUrl = rootProject.projectDir.toPath().resolve("site/stdlib.package.list").toUri().toURL()
url = new URL("https://kotlinlang.org/api/latest/jvm/stdlib/")
}

if (project.name != "kotlinx-coroutines-core") {
dependsOn(project.configurations.compileClasspath)
dependsOn(project.sourceSets.main.output)
Expand Down

0 comments on commit 3592a8c

Please sign in to comment.