Removed dokka

This commit is contained in:
KillerBossOriginal 2024-07-19 16:42:23 +02:00
parent 7b44a3056b
commit 6079db8955

View file

@ -64,27 +64,11 @@ tasks.register("publishToNpm") {
} }
} }
tasks.register<Jar>("dokkaHtmlJar") {
dependsOn(tasks.dokkaHtml)
from(tasks.dokkaHtml.flatMap { it.outputDirectory })
archiveClassifier.set("html-docs")
}
tasks.register<Jar>("dokkaJavadocJar") {
dependsOn(tasks.dokkaJavadoc)
from(tasks.dokkaJavadoc.flatMap { it.outputDirectory })
archiveClassifier.set("javadoc")
}
publishing { publishing {
publications { publications {
create<MavenPublication>("mavenJava") { create<MavenPublication>("mavenJava") {
from(components["kotlin"]) from(components["kotlin"])
artifact(tasks["dokkaHtmlJar"])
artifact(tasks["dokkaJavadocJar"])
pom { pom {
name.set("Permission Checker") name.set("Permission Checker")
description.set("A project for checking permissions") description.set("A project for checking permissions")