From 22aeebcd9f8b2ebfabe04c287ebbb0dee9fe7d0e Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Wed, 11 May 2022 07:59:34 -0700 Subject: [PATCH] Avoid starting test fixtures when resolving all external dependencies (#86357) --- plugins/repository-hdfs/build.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/repository-hdfs/build.gradle b/plugins/repository-hdfs/build.gradle index 11353b54a951a..ca76db431dda2 100644 --- a/plugins/repository-hdfs/build.gradle +++ b/plugins/repository-hdfs/build.gradle @@ -388,4 +388,9 @@ tasks.named("thirdPartyAudit").configure { 'org.apache.hadoop.thirdparty.protobuf.UnsafeUtil$JvmMemoryAccessor', 'org.apache.hadoop.thirdparty.protobuf.UnsafeUtil$MemoryAccessor' ) -} \ No newline at end of file +} + +tasks.named('resolveAllDependencies') { + // This avoids spinning up the test fixture when downloading all dependencies + configs = project.configurations - [project.configurations.krb5Config] +}