Update dependencies

This commit is contained in:
Michael Bull 2021-01-30 16:41:26 +00:00
parent eef8b3466b
commit 7a8d9b36c4
2 changed files with 7 additions and 11 deletions

View File

@ -45,17 +45,13 @@ subprojects {
plugins.withType<KotlinMultiplatformPluginWrapper> { plugins.withType<KotlinMultiplatformPluginWrapper> {
apply(plugin = "org.jetbrains.dokka") apply(plugin = "org.jetbrains.dokka")
val dokka by tasks.existing(DokkaTask::class) { val dokkaJavadoc by tasks.existing(DokkaTask::class)
outputFormat = "javadoc"
outputDirectory = "$buildDir/docs/javadoc"
}
val javadocJar by tasks.registering(Jar::class) { val javadocJar by tasks.registering(Jar::class) {
group = LifecycleBasePlugin.BUILD_GROUP group = LifecycleBasePlugin.BUILD_GROUP
description = "Assembles a jar archive containing the Javadoc API documentation." description = "Assembles a jar archive containing the Javadoc API documentation."
archiveClassifier.set("javadoc") archiveClassifier.set("javadoc")
dependsOn(dokka) from(dokkaJavadoc)
from(dokka.get().outputDirectory)
} }
configure<KotlinMultiplatformExtension> { configure<KotlinMultiplatformExtension> {

View File

@ -1,9 +1,9 @@
object Versions { object Versions {
const val dokka = "0.10.1" const val dokka = "1.4.20"
const val kotlin = "1.4.0" const val kotlin = "1.4.21-2"
const val kotlinBenchmark = "0.2.0-dev-20" const val kotlinBenchmark = "0.2.0-dev-20"
const val kotlinCoroutines = "1.3.9" const val kotlinCoroutines = "1.4.2"
const val ktor = "1.4.0" const val ktor = "1.5.1"
const val logback = "1.2.3" const val logback = "1.2.3"
const val versionsPlugin = "0.29.0" const val versionsPlugin = "0.36.0"
} }