Skip to content

Instantly share code, notes, and snippets.

@jimlyas
Last active January 4, 2022 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimlyas/da555eb405108882e391ba1f441493c6 to your computer and use it in GitHub Desktop.
Save jimlyas/da555eb405108882e391ba1f441493c6 to your computer and use it in GitHub Desktop.
Gist new medium
// In your root build.gradle.kts
buildscript {
repositories {
..
}
dependencies {
...
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.6.10")
classpath("org.jetbrains.dokka:dokka-base:1.6.10")
}
}
// In your module's build.gradle.kts
tasks.withType(DokkaTaskPartial::class.java).configureEach {
dokkaSourceSets {
getByName("main") {
...
pluginConfiguration<DokkaBase,DokkaBaseConfiguration> {
footerMessage = "© 2021 your copyright"
customAssets = listOf(file("logo-icon.svg"))
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment