Update to new Dokka (#1100)
* Migrate to new Dokka
* Update to new Knit that actually supports multimodule format
Fixes #1033
diff --git a/build.gradle b/build.gradle
index 9a99215..f1cd001 100644
--- a/build.gradle
+++ b/build.gradle
@@ -57,6 +57,7 @@
maven { url 'https://kotlin.bintray.com/kotlin-eap' }
maven { url 'https://kotlin.bintray.com/kotlinx' }
maven { url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies" }
+ maven { url 'https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev' }
jcenter()
gradlePluginPortal()
}
@@ -98,6 +99,7 @@
knit {
siteRoot = "https://kotlin.github.io/kotlinx.serialization"
+ moduleDocs = "build/dokka/htmlMultiModule"
}
// Build API docs for all modules with dokka before running Knit
@@ -145,6 +147,7 @@
password = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY') ?: ""
}
}
+ maven { url 'https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev' }
maven { url "https://dl.bintray.com/kotlin/kotlin-eap" }
}
}