From a4483178ae4361a27237c2806867ba45225ead13 Mon Sep 17 00:00:00 2001 From: Simon Templer Date: Mon, 23 Oct 2023 11:07:28 +0200 Subject: [PATCH] fix: fix incompatibility with Gradle download task --- .../standardout/gradle/plugin/platform/PlatformPlugin.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/groovy/org/standardout/gradle/plugin/platform/PlatformPlugin.groovy b/src/main/groovy/org/standardout/gradle/plugin/platform/PlatformPlugin.groovy index 8e16392..9e56af7 100644 --- a/src/main/groovy/org/standardout/gradle/plugin/platform/PlatformPlugin.groovy +++ b/src/main/groovy/org/standardout/gradle/plugin/platform/PlatformPlugin.groovy @@ -384,7 +384,7 @@ See https://github.com/stempler/bnd-platform/issues/19#issuecomment-253797523 def artifactZipPath = new File(downloadsDir, filename) def artifactZipPathPart = new File(downloadsDir, filename + '.part') if (!artifactZipPath.exists()) { - project.download { + project.download.run { src artifactDownloadUrl dest artifactZipPathPart overwrite true