diff --git a/build.gradle.kts b/build.gradle.kts index bf26e644..5ff9c297 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -23,6 +23,11 @@ subprojects { with(the()) { isAutomatedPublishing = true } + + with(the()) { + withSourcesJar() + withJavadocJar() + } } @@ -79,8 +84,8 @@ subprojects { "dokkaJavadocPlugin"("org.jetbrains.dokka:kotlin-as-java-plugin:1.4.20") } - tasks.withType().matching { it.name == "javadocJar" } - .configureEach { + tasks.withType().matching { it.name == "javadocJar" || it.name == "publishPluginJavaDocsJar" } + .all { from(tasks.named("dokkaJavadoc")) } @@ -124,6 +129,7 @@ subprojects { val githubUrl = project.extra["github.url"] as String with(the()) { + website = githubUrl vcsUrl = githubUrl description = "A suite of Gradle plugins for building, publishing and managing Helm charts."