-
-
Save IgnatBeresnev/ed9b88d20f5d48322f313b53232790e9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import org.jetbrains.dokka.gradle.DokkaTaskPartial | |
import org.jetbrains.dokka.base.DokkaBase | |
import org.jetbrains.dokka.base.DokkaBaseConfiguration | |
buildscript { | |
dependencies { | |
classpath("org.jetbrains.dokka:dokka-base:1.6.21") | |
} | |
} | |
plugins { | |
kotlin("jvm") version "1.6.21" | |
id("org.jetbrains.dokka") | |
} | |
tasks.withType<DokkaTaskPartial>().configureEach { | |
dokkaSourceSets.configureEach { | |
outputDirectory.set(file("documentation/html")) | |
includes.from("documentation/packages.md") | |
} | |
pluginConfiguration<DokkaBase, DokkaBaseConfiguration> { | |
customAssets = listOf(file("logo-icon.svg")) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment