Skip to content

Commit

Permalink
[BEAM-10961] enable strict dependency checking for sdks/java/extensio…
Browse files Browse the repository at this point in the history
…ns/google-cloud-platform-core (#14084)

* [BEAM-10961] enable strict dependency checking for sdks/java/extensions/euphoria

* [BEAM-10961] enable strict dependency checking for sdks/java/extensions/google-cloud-platform-core

* [BEAM-10961] undo line moves (originally intended for alphabeticization)

* [BEAM-10961] remove unintentionally added euphoria/build.gradle
  • Loading branch information
shehzaadn-vd committed Feb 26, 2021
1 parent 6308ef9 commit b7125d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 1 addition & 5 deletions sdks/java/extensions/euphoria/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

plugins { id 'org.apache.beam.module' }
applyJavaNature(
enableStrictDependencies: true,
exportJavadoc: false,
automaticModuleName: 'org.apache.beam.sdk.extensions.euphoria',
)
Expand All @@ -27,10 +26,7 @@ description = "Apache Beam :: SDKs :: Java :: Extensions :: Euphoria Java 8 DSL"

dependencies {
compile project(path: ":sdks:java:core", configuration: "shadow")
compile library.java.jackson_annotations
compile library.java.joda_time
compile library.java.slf4j_api
compile library.java.vendored_guava_26_0_jre
testCompile library.java.mockito_core
testCompile project(":sdks:java:extensions:kryo")
testCompile library.java.slf4j_api
testCompile library.java.hamcrest_core
Expand Down
6 changes: 4 additions & 2 deletions sdks/java/extensions/google-cloud-platform-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import groovy.json.JsonOutput

plugins { id 'org.apache.beam.module' }
applyJavaNature(

enableStrictDependencies: true,
automaticModuleName: 'org.apache.beam.sdk.extensions.gcp')

description = "Apache Beam :: SDKs :: Java :: Extensions :: Google Cloud Platform Core"
Expand Down Expand Up @@ -51,12 +51,14 @@ dependencies {
compile library.java.google_http_client
compile library.java.slf4j_api
compile library.java.joda_time
compile library.java.http_core
compile library.java.http_client
compile library.java.jackson_annotations
compile library.java.jackson_databind
permitUnusedDeclared library.java.jackson_databind // BEAM-11761
provided library.java.hamcrest_core
provided library.java.junit
testCompile project(path: ":sdks:java:core", configuration: "shadowTest")
testCompile library.java.hamcrest_library
testCompile library.java.mockito_core
testRuntimeOnly library.java.slf4j_jdk14
}
Expand Down

0 comments on commit b7125d0

Please sign in to comment.