From 7e90880d31fd7453ae83bd566879d39584378a4d Mon Sep 17 00:00:00 2001 From: Kenneth Knowles Date: Thu, 21 Jun 2018 20:33:28 -0700 Subject: [PATCH] Fix errors in BeamModulePlugin perf test section --- .../org/apache/beam/gradle/BeamModulePlugin.groovy | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy index 70ab9c3ff755..47dc8d98f03e 100644 --- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy +++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy @@ -1077,22 +1077,22 @@ artifactId=${project.name} /* include dependencies required by runners */ //if (runner?.contains('dataflow')) { if (runner?.equalsIgnoreCase('dataflow')) { - testCompile project(path: ":beam-runners-google-cloud-dataflow-java", configuration: 'shadowTest') + testCompile it.project(path: ":beam-runners-google-cloud-dataflow-java", configuration: 'shadowTest') } if (runner?.equalsIgnoreCase('direct')) { - testCompile project(path: ":beam-runners-direct-java", configuration: 'shadowTest') + testCompile it.project(path: ":beam-runners-direct-java", configuration: 'shadowTest') } /* include dependencies required by filesystems */ if (filesystem?.equalsIgnoreCase('hdfs')) { - testCompile project(path: ":beam-sdks-java-io-hadoop-file-system", configuration: 'shadowTest') - shadowTest library.java.hadoop_client + testCompile it.project(path: ":beam-sdks-java-io-hadoop-file-system", configuration: 'shadowTest') + shadowTest project.library.java.hadoop_client } /* include dependencies required by AWS S3 */ if (filesystem?.equalsIgnoreCase('s3')) { - testCompile project(path: ":beam-sdks-java-io-amazon-web-services", configuration: 'shadowTest') + testCompile it.project.project(path: ":beam-sdks-java-io-amazon-web-services", configuration: 'shadowTest') } }