File tree Expand file tree Collapse file tree
buildSrc/src/main/groovy/org/apache/beam/gradle
google-cloud-dataflow-java/worker/legacy-worker Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -810,7 +810,8 @@ class BeamModulePlugin implements Plugin<Project> {
810810 // Provided configuration to match Maven provided scope
811811 project. configurations {
812812 provided
813- implementation. extendsFrom(provided)
813+ compileOnly. extendsFrom(provided)
814+ runtimeOnly. extendsFrom(provided)
814815 }
815816
816817 // Configure the Java compiler source language and target compatibility levels. Also ensure that
Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ dependencies {
151151 implementation " org.apache.flink:flink-streaming-java_2.11:$flink_version "
152152 // RocksDB state backend (included in the Flink distribution)
153153 provided " org.apache.flink:flink-statebackend-rocksdb_2.11:$flink_version "
154+ testImplementation " org.apache.flink:flink-statebackend-rocksdb_2.11:$flink_version "
154155 testImplementation project(path : " :sdks:java:core" , configuration : " shadowTest" )
155156 // FlinkStateInternalsTest extends abstract StateInternalsTest
156157 testImplementation project(path : " :runners:core-java" , configuration : " testRuntimeMigration" )
Original file line number Diff line number Diff line change @@ -190,12 +190,14 @@ dependencies {
190190 // there.
191191 sdk_provided_dependencies. each {
192192 provided(it)
193+ testImplementation(it)
193194 }
194195 sdk_provided_shaded_project_dependencies. each {
195196 provided project(path : it, configuration : " shadow" )
196197 }
197198 sdk_provided_project_dependencies. each {
198199 provided project(path : it)
200+ testImplementation project(path : it)
199201 }
200202
201203 implementation project(path : " :model:fn-execution" , configuration : " shadow" )
Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ dependencies {
120120 testImplementation library. java. proto_google_cloud_bigtable_admin_v2
121121 testImplementation library. java. proto_google_cloud_datastore_v1
122122 testImplementation library. java. google_cloud_datastore_v1_proto_client
123+ testImplementation library. java. kafka_clients
124+ testImplementation project(" :sdks:java:io:kafka" )
123125 testImplementation project(path : " :sdks:java:io:mongodb" , configuration : " testRuntimeMigration" )
124126 testImplementation project(path : " :sdks:java:io:thrift" , configuration : " testRuntimeMigration" )
125127 testImplementation project(path : " :sdks:java:extensions:protobuf" , configuration : " testRuntimeMigration" )
Original file line number Diff line number Diff line change @@ -46,8 +46,10 @@ dependencies {
4646 permitUnusedDeclared project(" :sdks:java:io:google-cloud-platform" )
4747 implementation library. java. slf4j_api
4848
49+ testImplementation project(" :sdks:java:extensions:sql" )
4950 testImplementation project(" :sdks:java:extensions:sql:zetasql" )
5051 testImplementation project(" :runners:direct-java" )
52+ testImplementation project(" :sdks:java:io:google-cloud-platform" )
5153 testImplementation library. java. google_api_services_bigquery
5254 testImplementation library. java. junit
5355 testRuntimeOnly library. java. slf4j_simple
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ dependencies {
4040 provided library. java. hadoop_common
4141 provided library. java. hadoop_mapreduce_client_core
4242 testImplementation library. java. junit
43+ testImplementation library. java. hadoop_common
44+ testImplementation library. java. hadoop_mapreduce_client_core
4345 testImplementation library. java. hamcrest
4446 hadoopVersions. each {kv ->
4547 " hadoopVersion$kv . key " " org.apache.hadoop:hadoop-client:$kv . value "
Original file line number Diff line number Diff line change @@ -104,6 +104,9 @@ dependencies {
104104 testImplementation library. java. cassandra_driver_core
105105 testImplementation library. java. cassandra_driver_mapping
106106 testImplementation " org.apache.cassandra:cassandra-all:3.11.8"
107+ testImplementation library. java. hadoop_common
108+ testImplementation library. java. hadoop_hdfs
109+ testImplementation library. java. hadoop_mapreduce_client_core
107110 testImplementation library. java. postgres
108111 testImplementation library. java. junit
109112 testImplementation library. java. hamcrest
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ dependencies {
9696 testImplementation " org.apache.hive:hive-exec:$hive_version "
9797 testImplementation " org.apache.hive:hive-common:$hive_version "
9898 testImplementation " org.apache.hive:hive-cli:$hive_version "
99+ testImplementation " org.apache.hive.hcatalog:hive-hcatalog-core:$hive_version "
99100 testRuntimeOnly project(path : " :runners:direct-java" , configuration : " shadow" )
100101 hadoopVersions. each {kv ->
101102 " hadoopVersion$kv . key " " org.apache.hadoop:hadoop-common:$kv . value "
You can’t perform that action at this time.
0 commit comments