File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,11 @@ subprojects {
2323 with (the<GradlePluginDevelopmentExtension >()) {
2424 isAutomatedPublishing = true
2525 }
26+
27+ with (the<JavaPluginExtension >()) {
28+ withSourcesJar()
29+ withJavadocJar()
30+ }
2631 }
2732
2833
@@ -79,8 +84,8 @@ subprojects {
7984 " dokkaJavadocPlugin" (" org.jetbrains.dokka:kotlin-as-java-plugin:1.4.20" )
8085 }
8186
82- tasks.withType<Jar >().matching { it.name == " javadocJar" }
83- .configureEach {
87+ tasks.withType<Jar >().matching { it.name == " javadocJar" || it.name == " publishPluginJavaDocsJar " }
88+ .all {
8489 from(tasks.named(" dokkaJavadoc" ))
8590 }
8691
@@ -124,6 +129,7 @@ subprojects {
124129 val githubUrl = project.extra[" github.url" ] as String
125130
126131 with (the< com.gradle.publish.PluginBundleExtension > ()) {
132+
127133 website = githubUrl
128134 vcsUrl = githubUrl
129135 description = " A suite of Gradle plugins for building, publishing and managing Helm charts."
You can’t perform that action at this time.
0 commit comments