import org.jetbrains.dokka.gradle.DokkaTask plugins { kotlin("jvm") id("org.jetbrains.dokka") } apply(from = "../template.root.gradle.kts") dependencies { implementation(kotlin("stdlib")) testImplementation(kotlin("test-junit")) } tasks.withType { dokkaSourceSets { configureEach { moduleDisplayName.set("Basic Project") suppressedFiles.from(file("src/main/kotlin/it/suppressedByPath")) perPackageOption { prefix.set("it.suppressedByPackage") suppress.set(true) } } register("myTest") { kotlinSourceSet(kotlin.sourceSets["test"]) } } } buildDir.resolve("")