You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lc...@apache.org on 2019/06/13 18:59:00 UTC
[beam] branch master updated: [BEAM-7541] provide runner &
filesystem deps for IOIT in runtime
This is an automated email from the ASF dual-hosted git repository.
lcwik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 1362956 [BEAM-7541] provide runner & filesystem deps for IOIT in runtime
new 0d9212e Merge PR 8835
1362956 is described below
commit 1362956d7489b910d486871cfac627b171f58fc5
Author: Ćukasz Gajowy <lu...@gmail.com>
AuthorDate: Wed Jun 12 16:23:31 2019 +0200
[BEAM-7541] provide runner & filesystem deps for IOIT in runtime
---
.../org/apache/beam/gradle/BeamModulePlugin.groovy | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 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 5347a65..57c1ccf 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -1281,22 +1281,22 @@ class BeamModulePlugin implements Plugin<Project> {
/* include dependencies required by runners */
//if (runner?.contains('dataflow')) {
if (runner?.equalsIgnoreCase('dataflow')) {
- testCompile it.project(path: ":runners:google-cloud-dataflow-java", configuration: 'testCompile')
- shadow it.project(path: ":runners:google-cloud-dataflow-java:worker:legacy-worker", configuration: 'shadow')
+ testRuntime it.project(path: ":runners:google-cloud-dataflow-java", configuration: 'testRuntime')
+ testRuntime it.project(path: ":runners:google-cloud-dataflow-java:worker:legacy-worker", configuration: 'shadow')
}
if (runner?.equalsIgnoreCase('direct')) {
- testCompile it.project(path: ":runners:direct-java", configuration: 'shadowTest')
+ testRuntime it.project(path: ":runners:direct-java", configuration: 'shadowTest')
}
if (runner?.equalsIgnoreCase('flink')) {
- testCompile it.project(path: ":runners:flink:1.5", configuration: 'testCompile')
+ testRuntime it.project(path: ":runners:flink:1.5", configuration: 'testRuntime')
}
if (runner?.equalsIgnoreCase('spark')) {
- testCompile it.project(path: ":runners:spark", configuration: 'testCompile')
- testCompile project.library.java.spark_core
- testCompile project.library.java.spark_streaming
+ testRuntime it.project(path: ":runners:spark", configuration: 'testRuntime')
+ testRuntime project.library.java.spark_core
+ testRuntime project.library.java.spark_streaming
// Testing the Spark runner causes a StackOverflowError if slf4j-jdk14 is on the classpath
project.configurations.testRuntimeClasspath {
@@ -1306,13 +1306,13 @@ class BeamModulePlugin implements Plugin<Project> {
/* include dependencies required by filesystems */
if (filesystem?.equalsIgnoreCase('hdfs')) {
- testCompile it.project(path: ":sdks:java:io:hadoop-file-system", configuration: 'testCompile')
+ testRuntime it.project(path: ":sdks:java:io:hadoop-file-system", configuration: 'testRuntime')
testRuntime project.library.java.hadoop_client
}
/* include dependencies required by AWS S3 */
if (filesystem?.equalsIgnoreCase('s3')) {
- testCompile it.project(path: ":sdks:java:io:amazon-web-services", configuration: 'testCompile')
+ testRuntime it.project(path: ":sdks:java:io:amazon-web-services", configuration: 'testRuntime')
}
}