From edeab0594c48357c2827cee9785cd8bcfb70b29c Mon Sep 17 00:00:00 2001 From: jona Date: Mon, 8 Mar 2021 20:56:10 +0100 Subject: [PATCH] omit configuration when creating source artifact dependency conforming to gradle 6 --- .../platform/internal/util/gradle/DependencyHelper.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/groovy/org/standardout/gradle/plugin/platform/internal/util/gradle/DependencyHelper.groovy b/src/main/groovy/org/standardout/gradle/plugin/platform/internal/util/gradle/DependencyHelper.groovy index 7f14d58..ff4c581 100644 --- a/src/main/groovy/org/standardout/gradle/plugin/platform/internal/util/gradle/DependencyHelper.groovy +++ b/src/main/groovy/org/standardout/gradle/plugin/platform/internal/util/gradle/DependencyHelper.groovy @@ -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)