This is an automated email from the ASF dual-hosted git repository.

ibzib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new dc0c2bd  [BEAM-10961] enable strict dependency checking for 
sdks/java/io/bigquery-io-perf-tests (#14048)
dc0c2bd is described below

commit dc0c2bd5075991b7b45a26c7c94b2e899f407fcb
Author: shehzaadn-vd <32536022+shehzaadn...@users.noreply.github.com>
AuthorDate: Wed Feb 24 09:17:27 2021 -0800

    [BEAM-10961] enable strict dependency checking for 
sdks/java/io/bigquery-io-perf-tests (#14048)
    
    * [BEAM-10961] enable strict dependency checking for 
sdks/java/io/bigquery-io-perf-tests
    
    * [BEAM-10961] (1) nitpick: space (2) change testImplementation to 
testCompile
---
 sdks/java/io/bigquery-io-perf-tests/build.gradle | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/sdks/java/io/bigquery-io-perf-tests/build.gradle 
b/sdks/java/io/bigquery-io-perf-tests/build.gradle
index 8d5cf89..ee5c123 100644
--- a/sdks/java/io/bigquery-io-perf-tests/build.gradle
+++ b/sdks/java/io/bigquery-io-perf-tests/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(exportJavadoc: false, publish: false)
+applyJavaNature(enableStrictDependencies: true, exportJavadoc: false, publish: 
false)
 provideIntegrationTestingDependencies()
 enableJavaPerformanceTesting()
 
@@ -25,7 +25,7 @@ description = "Apache Beam :: SDKs :: Java :: Google BigQuery 
IO Performance tes
 ext.summary = "Performance tests for Google BigQuery IO sources and sinks"
 
 dependencies {
-    compile library.java.google_api_services_bigquery
+    testCompile library.java.google_api_services_bigquery
     testCompile project(path: ":sdks:java:core", configuration: "shadowTest")
     testCompile project(path: ":sdks:java:testing:test-utils", configuration: 
"testRuntime")
     testCompile project(path: 
":sdks:java:extensions:google-cloud-platform-core", configuration: 
"testRuntime")
@@ -34,7 +34,4 @@ dependencies {
     testCompile project(path: ":sdks:java:io:google-cloud-platform", 
configuration: "testRuntime")
     testCompile project(":sdks:java:io:synthetic")
     testCompile library.java.junit
-    testCompile library.java.hamcrest_core
-    testCompile library.java.jaxb_api
-    testCompile library.java.jaxb_impl
 }

Reply via email to