From 6fcd66a956e489ee42045956164945f080ae772d Mon Sep 17 00:00:00 2001 From: aSemy <897017+aSemy@users.noreply.github.com> Date: Thu, 9 Mar 2023 14:44:14 +0100 Subject: Remove unused `sourceJar` tasks (#2909) Sources JAR is auto-enabled using `withSourcesJar()` in `base-java` convention plugin --- runners/maven-plugin/build.gradle.kts | 5 ----- 1 file changed, 5 deletions(-) (limited to 'runners/maven-plugin/build.gradle.kts') 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 { -- cgit