Skip to content

Commit 74aa92d

Browse files
Update dokka [0.9.18->0.10.0], fix Java API links (point to website).
1 parent e33cc22 commit 74aa92d

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

objectbox-kotlin/build.gradle

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version= rootProject.version
44
buildscript {
55
ext.javadocDir = "$buildDir/docs/javadoc"
66
ext.kotlin_version = '1.3.31'
7-
ext.dokka_version = '0.9.18'
7+
ext.dokka_version = '0.10.0'
88

99
repositories {
1010
mavenCentral()
@@ -25,6 +25,17 @@ sourceCompatibility = 1.7
2525
dokka {
2626
outputFormat = 'html'
2727
outputDirectory = javadocDir
28+
29+
// Fix "Can't find node by signature": have to manually point to dependencies.
30+
// https://github.com/Kotlin/dokka/wiki/faq#dokka-complains-about-cant-find-node-by-signature-
31+
configuration{
32+
externalDocumentationLink {
33+
// Point to web javadoc for objectbox-java packages.
34+
url = new URL("https://objectbox.io/docfiles/java/current/")
35+
// Note: Using JDK 9+ package-list is now called element-list.
36+
packageListUrl = new URL(url, "element-list")
37+
}
38+
}
2839
}
2940

3041
task javadocJar(type: Jar, dependsOn: dokka) {

0 commit comments

Comments
 (0)