How can I change the logo in the HTML docs? Trying...
# dokka
t
How can I change the logo in the HTML docs? Trying to add the
dokka-base
plugin via buildscript dependencies gives me this error:
Copy code
Caused by: java.lang.NoSuchFieldError: KOTLIN_STAT_LABEl_PROPERTY
m
Could you paste your configuration?
a
You might be running into https://github.com/Kotlin/dokka/issues/2092. Try the dev version recommended in that issue
t
m
The syntax looks ok, maybe it is an issue with versions? Could you check out this dev version? https://github.com/Kotlin/dokka/issues/2092#issuecomment-907282911
t
I've added this:
Copy code
buildscript {
	dependencies {
		classpath(group = "org.jetbrains.dokka", name = "dokka-base", version = "1.5.30-dev-115")
	}
}

plugins {
	kotlin("jvm") version "1.5.30"
    // ...
	id("org.jetbrains.dokka") version "1.5.30-dev-115"
}
Yet it's still failing, saying it
Could not resolve all artifacts for configuration 'classpath'
.
m
because you didn’t add space packages to repositories, please add
maven("<https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev>")
to repositories
t
ah, thank you
Looks like it's working, thank you!
❤️ 1
weird, I've added it to
pluginManagement
(I've tried doing it in
buildscript
as well) and the build completed, but once I run the
dokkaHtml
task, I get this error: https://gist.github.com/TheOnlyTails/6cdf80d22265a28c427c76b6f9839192