aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraSemy <897017+aSemy@users.noreply.github.com>2023-03-09 14:44:14 +0100
committerGitHub <noreply@github.com>2023-03-09 14:44:14 +0100
commit6fcd66a956e489ee42045956164945f080ae772d (patch)
treed800d58497bec6480174f05a1caecab7d12fa7fb
parent13ec97144159a4ba73aa88430a7bf235ba211b27 (diff)
downloaddokka-6fcd66a956e489ee42045956164945f080ae772d.tar.gz
dokka-6fcd66a956e489ee42045956164945f080ae772d.tar.bz2
dokka-6fcd66a956e489ee42045956164945f080ae772d.zip
Remove unused `sourceJar` tasks (#2909)
Sources JAR is auto-enabled using `withSourcesJar()` in `base-java` convention plugin
-rw-r--r--runners/gradle-plugin/build.gradle.kts5
-rw-r--r--runners/maven-plugin/build.gradle.kts5
2 files changed, 0 insertions, 10 deletions
diff --git a/runners/gradle-plugin/build.gradle.kts b/runners/gradle-plugin/build.gradle.kts
index 89601c69..0b6908d4 100644
--- a/runners/gradle-plugin/build.gradle.kts
+++ b/runners/gradle-plugin/build.gradle.kts
@@ -43,11 +43,6 @@ fun Configuration.excludeGradleCommonDependencies() {
}
}
-val sourceJar by tasks.registering(Jar::class) {
- archiveClassifier.set("sources")
- from(sourceSets["main"].allSource)
-}
-
gradlePlugin {
plugins {
create("dokkaGradlePlugin") {
diff --git a/runners/maven-plugin/build.gradle.kts b/runners/maven-plugin/build.gradle.kts
index e6aab8eb..6cd0395e 100644
--- a/runners/maven-plugin/build.gradle.kts
+++ b/runners/maven-plugin/build.gradle.kts
@@ -81,11 +81,6 @@ val pluginDescriptor by tasks.registering(CrossPlatformExec::class) {
outputs.dir(layout.buildDirectory.dir("maven/classes/java/main/META-INF/maven"))
}
-val sourceJar by tasks.registering(Jar::class) {
- archiveClassifier.set("sources")
- from(java.sourceSets["main"].allSource)
-}
-
tasks.jar {
dependsOn(pluginDescriptor, helpMojo)
metaInf {