Skip to content

Commit

Permalink
[BEAM-10961] enable strict dependency checking for sdks/java/io/conte…
Browse files Browse the repository at this point in the history
…xtualtextio (#14049)

* [BEAM-10961] enable strict dependency checking for sdks/java/io/contextualtextio

* [BEAM-10961] (1) nitpick: space (2) add reference to BEAM-11761
  • Loading branch information
shehzaadn-vd committed Feb 24, 2021
1 parent 3ffd233 commit 72f693d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions sdks/java/io/contextualtextio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,22 @@

plugins { id 'org.apache.beam.module' }
applyJavaNature(
enableStrictDependencies: true,
automaticModuleName: 'org.apache.beam.sdk.io.contextualtextio',
)

description = "Apache Beam :: SDKs :: Java :: Contextual-Text-IO"
ext.summary = "Context-aware Text IO."

dependencies {
compile library.java.vendored_guava_26_0_jre
compile library.java.protobuf_java
compile project(path: ":sdks:java:core", configuration: "shadow")
testCompile project(path: ":sdks:java:core", configuration: "shadowTest")
compile library.java.protobuf_java
permitUnusedDeclared library.java.protobuf_java // BEAM-11761
compile library.java.slf4j_api
compile library.java.vendored_guava_26_0_jre
compile library.java.vendored_grpc_1_26_0

testCompile project(path: ":sdks:java:core", configuration: "shadowTest")
testCompile library.java.guava_testlib
testCompile library.java.junit
testCompile library.java.hamcrest_core
Expand Down

0 comments on commit 72f693d

Please sign in to comment.