From 2c574a10f710b1cc4814f09e2db8e5894880325b Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 17 Feb 2021 14:09:30 -0500 Subject: [PATCH] checkJavaLinkage task requires a spread operator for args --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 5b51c77ba579..a56c4a261186 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -348,7 +348,7 @@ if (project.hasProperty("javaLinkageArtifactIds")) { val linkageCheckerJava by configurations.creating dependencies { - linkageCheckerJava("com.google.cloud.tools:dependencies:1.5.4") + linkageCheckerJava("com.google.cloud.tools:dependencies:1.5.6") } // We need to evaluate all the projects first so that we can find depend on all the @@ -381,7 +381,7 @@ if (project.hasProperty("javaLinkageArtifactIds")) { arguments += "--exclusion-file" arguments += project.property("javaLinkageReadBaseline") as String } - args(arguments) + args(*arguments) doLast { println("NOTE: This task published artifacts into your local Maven repository. You may want to remove them manually.") }