Skip to content

Commit

Permalink
Update dokka and put in publish signing work-around
Browse files Browse the repository at this point in the history
  • Loading branch information
evant committed Nov 11, 2023
1 parent 5e5a209 commit 5b9854f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
signing
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
kotlin("multiplatform") version "1.9.20"
id("org.jetbrains.dokka") version "1.8.20"
id("org.jetbrains.dokka") version "1.9.10"
}

group = "com.willowtreeapps.opentest4k"
Expand Down Expand Up @@ -111,7 +111,6 @@ val dokkaJavadocCommonJar by tasks.registering(Jar::class) {
}

publishing {

publications.all {
if (this is MavenPublication) {
artifact(dokkaJavadocCommonJar)
Expand All @@ -137,7 +136,7 @@ publishing {
developers {
developer {
id.set("evant")
name.set("Evan Tatarka")
name.set("Eva Tatarka")
}
}
}
Expand Down Expand Up @@ -168,3 +167,8 @@ tasks.withType<KotlinCompilationTask<*>>().configureEach {
freeCompilerArgs.add("-Xexpect-actual-classes")
}
}

// TODO: remove after https://youtrack.jetbrains.com/issue/KT-46466 is fixed
project.tasks.withType(AbstractPublishToMaven::class.java).configureEach {
dependsOn(project.tasks.withType(Sign::class.java))
}

0 comments on commit 5b9854f

Please sign in to comment.