Skip to content

Commit

Permalink
Remove unused sourceJar tasks (#2909)
Browse files Browse the repository at this point in the history
Sources JAR is auto-enabled using `withSourcesJar()` in `base-java` convention plugin
  • Loading branch information
aSemy committed Mar 9, 2023
1 parent 13ec971 commit 6fcd66a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions runners/gradle-plugin/build.gradle.kts
Expand Up @@ -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") {
Expand Down
5 changes: 0 additions & 5 deletions runners/maven-plugin/build.gradle.kts
Expand Up @@ -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 {
Expand Down

0 comments on commit 6fcd66a

Please sign in to comment.