Skip to content

Commit

Permalink
omit configuration when creating source artifact dependency
Browse files Browse the repository at this point in the history
conforming to gradle 6
  • Loading branch information
jona authored and stempler committed Oct 20, 2023
1 parent 30b5612 commit e6beadb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class DependencyHelper {
dep.moduleGroup,
dep.moduleName,
dep.moduleVersion,
dep.configuration)
null)
sourceDep.transitive = false
def artifact = new DefaultDependencyArtifact(sourceDep.name, "source", "jar", "sources", null)
sourceDep.addArtifact(artifact)
Expand Down

0 comments on commit e6beadb

Please sign in to comment.