@@ -21,6 +21,7 @@ import java.util.stream.Collectors
2121
2222plugins { id ' org.apache.beam.module' }
2323applyJavaNature(
24+ enableStrictDependencies :true ,
2425 automaticModuleName : ' org.apache.beam.sdk.io.hadoop.format' ,
2526)
2627provideIntegrationTestingDependencies()
@@ -38,7 +39,6 @@ def hadoopVersions = [
3839
3940hadoopVersions. each {kv -> configurations. create(" hadoopVersion$kv . key " )}
4041
41- def log4j_version = " 2.6.2"
4242def elastic_search_version = " 7.9.2"
4343
4444configurations. create(" sparkRunner" )
@@ -60,6 +60,7 @@ dependencies {
6060 compile library. java. vendored_guava_26_0_jre
6161 compile library. java. slf4j_api
6262 compile project(" :sdks:java:io:hadoop-common" )
63+ compile library. java. joda_time
6364 provided library. java. hadoop_common
6465 provided library. java. hadoop_hdfs
6566 provided library. java. hadoop_mapreduce_client_core
@@ -68,6 +69,7 @@ dependencies {
6869 testCompile project(path : " :sdks:java:testing:test-utils" , configuration : " testRuntime" )
6970 testCompile project(" :sdks:java:io:jdbc" )
7071 testCompile project(path : " :examples:java" , configuration : " testRuntime" )
72+ testCompile " org.elasticsearch.plugin:transport-netty4-client:$elastic_search_version "
7173 testCompile library. java. testcontainers_elasticsearch
7274 testCompile " org.elasticsearch.client:elasticsearch-rest-high-level-client:$elastic_search_version "
7375 testCompile " org.elasticsearch:elasticsearch:$elastic_search_version "
@@ -90,7 +92,6 @@ dependencies {
9092 testCompile library. java. cassandra_driver_mapping
9193 testCompile " org.apache.cassandra:cassandra-all:3.11.8"
9294 testCompile library. java. postgres
93- testCompile " org.apache.logging.log4j:log4j-core:$log4j_version "
9495 testCompile library. java. junit
9596 testCompile library. java. hamcrest_core
9697 testCompile library. java. hamcrest_library
0 commit comments