When I want to use `1.4.30`, I run into <https://g...
# dokka
h
When I want to use
1.4.30
, I run into https://github.com/Kotlin/dokka/issues/1779
z
Do you have
mavenCentral
in your
buildscript/repositories
?
Copy code
buildscript {
    repositories {
        mavenCentral()
    }
}
h
Where am I supposed to add the
buildscript
block? I'm using the Gradle Kotlin DSL.
j
root build.gradle.kts
h
Doesn't make any difference. This is how my
build.gradle.kts
looks like:
Copy code
buildscript {
    repositories {
        mavenCentral()
    }
}

plugins {
    kotlin("js") version "1.4.31"
    id("org.jetbrains.dokka") version "1.4.30"
    id("org.jlleitschuh.gradle.ktlint") version "9.4.1"
    id("org.jlleitschuh.gradle.ktlint-idea") version "9.4.1"
    id("io.gitlab.arturbosch.detekt") version "1.16.0"
    id("io.github.gradle-nexus.publish-plugin") version "1.0.0"
    `maven-publish`
    signing
}
Still running into the issue described in https://github.com/Kotlin/dokka/issues/1779
l
I left a reply with a workaround in GitHub: https://github.com/Kotlin/dokka/issues/1779#issuecomment-800111193
h
Thanks! Works like a charm! 👍
k
Should be fixed now, published to Gradle Plugin Portal, my bad, sorry 😢
👍 2
🙂 1