Skip to content

Commit

Permalink
fix(build): add missing configuration for publish-on-central plugin (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK authored Dec 5, 2022
1 parent c1a2a14 commit f8362a3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,15 @@ allprojects {
dependsOn(dokka)
from(dokka.outputDirectory)
}
publishing {
publications {
publications.withType<MavenPublication>().configureEach {
if ("OSSRH" !in name) {
artifact(tasks.javadocJar)
}
}
}
}
}

// COMPILE
Expand Down

0 comments on commit f8362a3

Please sign in to comment.