Skip to content

Commit

Permalink
fix: not jar use source jar for exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
amanjeetsingh150 committed Oct 15, 2024
1 parent 2064a97 commit c024a8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion maestro-client/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import com.vanniktech.maven.publish.SonatypeHost
import com.vanniktech.maven.publish.tasks.SourcesJar
import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask

plugins {
Expand Down Expand Up @@ -105,7 +106,7 @@ tasks.named("compileKotlin", KotlinCompilationTask::class.java) {
}
}

tasks.withType<Jar> {
tasks.withType(SourcesJar::class).configureEach {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

Expand Down

0 comments on commit c024a8b

Please sign in to comment.