diff --git a/build.gradle.kts b/build.gradle.kts index 7f410f30ed5..f28cc1a0f0c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -90,7 +90,7 @@ val disabledExplicitApiModeProjects = listOf( apply(from = "gradle/compatibility.gradle") plugins { - id("org.jetbrains.dokka") version "1.7.20" apply false + id("org.jetbrains.dokka") version "1.9.0" apply false id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.13.2" id("kotlinx-atomicfu") version "0.21.0" apply false id("com.osacky.doctor") version "0.8.1" @@ -151,7 +151,7 @@ fun configureDokka() { val dokkaPlugin by configurations dependencies { - dokkaPlugin("org.jetbrains.dokka:versioning-plugin:1.7.20") + dokkaPlugin("org.jetbrains.dokka:versioning-plugin:1.9.0") } } diff --git a/gradle.properties b/gradle.properties index 24047da257a..31ba04fc648 100644 --- a/gradle.properties +++ b/gradle.properties @@ -29,3 +29,7 @@ kotlin.native.ignoreIncorrectDependencies=true kotlin.native.binary.memoryModel=experimental #kotlinx.atomicfu.enableJvmIrTransformation=true #kotlinx.atomicfu.enableJsIrTransformation=true + +# dokka +# workaround for resolving platform dependencies, see https://github.com/Kotlin/dokka/issues/3153 +org.jetbrains.dokka.classpath.useNativeDistributionAccessor=true