Skip to content

Commit

Permalink
Fix doka plugin (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilmveel authored May 25, 2024
1 parent 45137b0 commit 7231fe3
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,6 @@ plugins {
id("org.jetbrains.dokka") version "1.8.10"
}

val dokkaOutputDir = "${layout.buildDirectory.get()}/dokka"

val deleteDokkaOutputDir by tasks.register<Delete>("deleteDokkaOutputDirectory") {
delete(dokkaOutputDir)
}

val javadocJar = tasks.register<Jar>("javadocJar") {
dependsOn(deleteDokkaOutputDir, tasks.dokkaHtml)
archiveClassifier.set("javadoc")
from(dokkaOutputDir)
}

repositories {
mavenCentral()
}
Expand All @@ -28,10 +16,6 @@ allprojects {
apply(plugin = "signing")
apply(plugin = "org.jetbrains.dokka")

tasks.getByName<DokkaTask>("dokkaHtml") {
outputDirectory.set(file(dokkaOutputDir))
}

signing {
setRequired { System.getenv("VERSION") != null }
useInMemoryPgpKeys(
Expand All @@ -56,7 +40,6 @@ allprojects {
}
}
withType<MavenPublication> {
artifact(javadocJar)
pom {
name.set("Wirespec")
description.set("Type safe wires made easy")
Expand Down

0 comments on commit 7231fe3

Please sign in to comment.