Last active
January 4, 2022 13:36
-
-
Save jimlyas/da555eb405108882e391ba1f441493c6 to your computer and use it in GitHub Desktop.
Gist new medium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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