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 committed Mar 8, 2021
1 parent 910c2c8 commit db11396
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 db11396

Please sign in to comment.