Skip to content

Commit

Permalink
Setup gradle plugin for correct snapshot publication
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Feb 28, 2024
1 parent f18001d commit ceb9a48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class SonatypePlugin : Plugin<Project> {
apply(plugin = "signing")
apply(plugin = "org.gradle.maven-publish")

project.tasks.matching { it.name == "dokka" }.all {
project.tasks.matching { it.name == "dokkaJavadoc" }.all {
val javadocTask: Task = this
val main: SourceSet = the<JavaPluginExtension>().sourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME)
tasks.create<Jar>(main.javadocJarTaskName) {
Expand Down

0 comments on commit ceb9a48

Please sign in to comment.