Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-10961] Enable strict dependency checking on sdks/java/io/hadoop-format #13799

Merged
merged 2 commits into from
Jan 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions sdks/java/io/hadoop-format/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import java.util.stream.Collectors

plugins { id 'org.apache.beam.module' }
applyJavaNature(
enableStrictDependencies:true,
automaticModuleName: 'org.apache.beam.sdk.io.hadoop.format',
)
provideIntegrationTestingDependencies()
Expand All @@ -38,7 +39,6 @@ def hadoopVersions = [

hadoopVersions.each {kv -> configurations.create("hadoopVersion$kv.key")}

def log4j_version = "2.6.2"
def elastic_search_version = "7.9.2"

configurations.create("sparkRunner")
Expand All @@ -60,6 +60,7 @@ dependencies {
compile library.java.vendored_guava_26_0_jre
compile library.java.slf4j_api
compile project(":sdks:java:io:hadoop-common")
compile library.java.joda_time
provided library.java.hadoop_common
provided library.java.hadoop_hdfs
provided library.java.hadoop_mapreduce_client_core
Expand All @@ -68,6 +69,7 @@ dependencies {
testCompile project(path: ":sdks:java:testing:test-utils", configuration: "testRuntime")
testCompile project(":sdks:java:io:jdbc")
testCompile project(path: ":examples:java", configuration: "testRuntime")
testCompile "org.elasticsearch.plugin:transport-netty4-client:$elastic_search_version"
testCompile library.java.testcontainers_elasticsearch
testCompile "org.elasticsearch.client:elasticsearch-rest-high-level-client:$elastic_search_version"
testCompile "org.elasticsearch:elasticsearch:$elastic_search_version"
Expand All @@ -90,7 +92,6 @@ dependencies {
testCompile library.java.cassandra_driver_mapping
testCompile "org.apache.cassandra:cassandra-all:3.11.8"
testCompile library.java.postgres
testCompile "org.apache.logging.log4j:log4j-core:$log4j_version"
aromanenko-dev marked this conversation as resolved.
Show resolved Hide resolved
testCompile library.java.junit
testCompile library.java.hamcrest_core
testCompile library.java.hamcrest_library
Expand Down