beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ib...@apache.org
Subject [beam] branch master updated: [BEAM-10961] turn on enableStrictDependencies globally
Date Wed, 10 Mar 2021 16:30:46 GMT
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 7b31eb8  [BEAM-10961] turn on enableStrictDependencies globally
     new 6c2c284  Merge pull request #14114 from sonam-vend/enable-global-dep-check
7b31eb8 is described below

commit 7b31eb8a93082613ecae0ede98bd9bface7f6515
Author: Shehzaad Nakhoda <shehzaad@venturedive.com>
AuthorDate: Sat Feb 27 02:40:36 2021 -0800

    [BEAM-10961] turn on enableStrictDependencies globally
---
 .../src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy     | 3 ++-
 examples/java/build.gradle                                             | 1 -
 examples/kotlin/build.gradle                                           | 2 +-
 release/build.gradle.kts                                               | 1 +
 runners/core-construction-java/build.gradle                            | 1 -
 runners/core-java/build.gradle                                         | 1 -
 runners/direct-java/build.gradle                                       | 1 -
 runners/extensions-java/metrics/build.gradle                           | 1 -
 runners/flink/job-server/flink_job_server.gradle                       | 1 -
 runners/google-cloud-dataflow-java/build.gradle                        | 1 +
 runners/google-cloud-dataflow-java/examples-streaming/build.gradle     | 2 +-
 runners/google-cloud-dataflow-java/examples/build.gradle               | 2 +-
 runners/google-cloud-dataflow-java/worker/build.gradle                 | 1 +
 runners/google-cloud-dataflow-java/worker/legacy-worker/build.gradle   | 1 +
 runners/java-fn-execution/build.gradle                                 | 1 -
 runners/java-job-service/build.gradle                                  | 1 -
 runners/jet/build.gradle                                               | 1 -
 runners/local-java/build.gradle                                        | 1 -
 runners/portability/java/build.gradle                                  | 2 +-
 runners/samza/build.gradle                                             | 1 -
 runners/samza/job-server/build.gradle                                  | 1 -
 runners/spark/build.gradle                                             | 1 -
 runners/spark/job-server/build.gradle                                  | 1 -
 runners/twister2/build.gradle                                          | 1 -
 sdks/java/core/build.gradle                                            | 1 -
 sdks/java/expansion-service/build.gradle                               | 1 -
 sdks/java/extensions/euphoria/build.gradle                             | 1 -
 sdks/java/extensions/google-cloud-platform-core/build.gradle           | 1 -
 sdks/java/extensions/jackson/build.gradle                              | 1 -
 sdks/java/extensions/join-library/build.gradle                         | 1 -
 sdks/java/extensions/kryo/build.gradle                                 | 1 -
 sdks/java/extensions/ml/build.gradle                                   | 1 -
 sdks/java/extensions/protobuf/build.gradle                             | 1 -
 sdks/java/extensions/sketching/build.gradle                            | 1 -
 sdks/java/extensions/sorter/build.gradle                               | 1 -
 sdks/java/extensions/sql/build.gradle                                  | 1 -
 sdks/java/extensions/sql/datacatalog/build.gradle                      | 1 -
 sdks/java/extensions/sql/expansion-service/build.gradle                | 1 -
 sdks/java/extensions/sql/hcatalog/build.gradle                         | 1 -
 sdks/java/extensions/sql/jdbc/build.gradle                             | 1 -
 sdks/java/extensions/sql/perf-tests/build.gradle                       | 1 -
 sdks/java/extensions/sql/udf-test-provider/build.gradle                | 1 -
 sdks/java/extensions/sql/udf/build.gradle                              | 1 -
 sdks/java/extensions/sql/zetasql/build.gradle                          | 1 -
 sdks/java/extensions/zetasketch/build.gradle                           | 1 -
 sdks/java/fn-execution/build.gradle                                    | 1 -
 sdks/java/harness/build.gradle                                         | 1 -
 sdks/java/io/amazon-web-services/build.gradle                          | 1 -
 sdks/java/io/amazon-web-services2/build.gradle                         | 1 -
 sdks/java/io/amqp/build.gradle                                         | 2 +-
 sdks/java/io/azure/build.gradle                                        | 1 -
 sdks/java/io/bigquery-io-perf-tests/build.gradle                       | 2 +-
 sdks/java/io/cassandra/build.gradle                                    | 1 -
 sdks/java/io/clickhouse/build.gradle                                   | 1 -
 sdks/java/io/common/build.gradle                                       | 2 +-
 sdks/java/io/contextualtextio/build.gradle                             | 1 -
 sdks/java/io/debezium/build.gradle                                     | 1 +
 sdks/java/io/elasticsearch-tests/elasticsearch-tests-2/build.gradle    | 1 -
 sdks/java/io/elasticsearch-tests/elasticsearch-tests-5/build.gradle    | 1 -
 sdks/java/io/elasticsearch-tests/elasticsearch-tests-6/build.gradle    | 1 -
 sdks/java/io/elasticsearch-tests/elasticsearch-tests-7/build.gradle    | 1 -
 .../io/elasticsearch-tests/elasticsearch-tests-common/build.gradle     | 1 -
 sdks/java/io/elasticsearch/build.gradle                                | 2 +-
 sdks/java/io/expansion-service/build.gradle                            | 1 -
 sdks/java/io/file-based-io-tests/build.gradle                          | 2 +-
 sdks/java/io/google-cloud-platform/build.gradle                        | 1 -
 sdks/java/io/google-cloud-platform/expansion-service/build.gradle      | 1 -
 sdks/java/io/hadoop-common/build.gradle                                | 2 +-
 sdks/java/io/hadoop-file-system/build.gradle                           | 1 -
 sdks/java/io/hadoop-format/build.gradle                                | 1 -
 sdks/java/io/hbase/build.gradle                                        | 2 +-
 sdks/java/io/hcatalog/build.gradle                                     | 2 +-
 sdks/java/io/influxdb/build.gradle                                     | 2 +-
 sdks/java/io/jdbc/build.gradle                                         | 1 -
 sdks/java/io/jms/build.gradle                                          | 1 -
 sdks/java/io/kafka/build.gradle                                        | 1 -
 sdks/java/io/kinesis/build.gradle                                      | 2 +-
 sdks/java/io/kinesis/expansion-service/build.gradle                    | 1 -
 sdks/java/io/kudu/build.gradle                                         | 1 -
 sdks/java/io/mongodb/build.gradle                                      | 2 +-
 sdks/java/io/mqtt/build.gradle                                         | 2 +-
 sdks/java/io/parquet/build.gradle                                      | 1 -
 sdks/java/io/rabbitmq/build.gradle                                     | 2 +-
 sdks/java/io/redis/build.gradle                                        | 2 +-
 sdks/java/io/snowflake/build.gradle                                    | 1 -
 sdks/java/io/snowflake/expansion-service/build.gradle                  | 1 -
 sdks/java/io/solr/build.gradle                                         | 1 -
 sdks/java/io/splunk/build.gradle                                       | 2 +-
 sdks/java/io/synthetic/build.gradle                                    | 1 -
 sdks/java/io/thrift/build.gradle                                       | 1 -
 sdks/java/io/tika/build.gradle                                         | 2 +-
 sdks/java/io/xml/build.gradle                                          | 2 +-
 sdks/java/maven-archetypes/examples/build.gradle                       | 2 +-
 sdks/java/maven-archetypes/gcp-bom-examples/build.gradle               | 2 +-
 sdks/java/maven-archetypes/starter/build.gradle                        | 2 +-
 sdks/java/testing/expansion-service/build.gradle                       | 1 -
 sdks/java/testing/jpms-tests/build.gradle                              | 1 -
 sdks/java/testing/kafka-service/build.gradle                           | 2 +-
 sdks/java/testing/load-tests/build.gradle                              | 1 -
 sdks/java/testing/nexmark/build.gradle                                 | 1 -
 sdks/java/testing/test-utils/build.gradle                              | 1 -
 sdks/java/testing/watermarks/build.gradle                              | 1 +
 102 files changed, 33 insertions(+), 96 deletions(-)

diff --git a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index 84cf4ac..dcac76c 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -95,7 +95,7 @@ class BeamModulePlugin implements Plugin<Project> {
     Map<String, String> classesTriggerCheckerBugs = [:]
 
     /** Controls whether the dependency analysis plugin is enabled. */
-    boolean enableStrictDependencies = false
+    boolean enableStrictDependencies = true
 
     /** Override the default "beam-" + `dash separated path` archivesBaseName. */
     String archivesBaseName = null
@@ -1834,6 +1834,7 @@ class BeamModulePlugin implements Plugin<Project> {
       }
 
       project.ext.applyJavaNature(
+          enableStrictDependencies: false,
           exportJavadoc: false,
           enableSpotbugs: false,
           publish: configuration.publish,
diff --git a/examples/java/build.gradle b/examples/java/build.gradle
index 5c057d8..95d2b48 100644
--- a/examples/java/build.gradle
+++ b/examples/java/build.gradle
@@ -25,7 +25,6 @@ plugins {
 }
 
 applyJavaNature(
-  enableStrictDependencies: true,
   exportJavadoc: false,
   automaticModuleName: 'org.apache.beam.examples',
 )
diff --git a/examples/kotlin/build.gradle b/examples/kotlin/build.gradle
index 9999f42..8256513 100644
--- a/examples/kotlin/build.gradle
+++ b/examples/kotlin/build.gradle
@@ -22,7 +22,7 @@ plugins { id 'org.apache.beam.module'
     id 'org.jetbrains.kotlin.jvm' version '1.3.72'
 }
 
-applyJavaNature(enableStrictDependencies: true, exportJavadoc: false,  automaticModuleName: 'org.apache.beam.examples.kotlin')
+applyJavaNature(exportJavadoc: false,  automaticModuleName: 'org.apache.beam.examples.kotlin')
 provideIntegrationTestingDependencies()
 enableJavaPerformanceTesting()
 
diff --git a/release/build.gradle.kts b/release/build.gradle.kts
index 6f1a7bb..79135c2 100644
--- a/release/build.gradle.kts
+++ b/release/build.gradle.kts
@@ -30,6 +30,7 @@ val library = project.extensions.extraProperties["library"] as Map<String, Map<S
 dependencies {
   compile(library.getValue("groovy").getValue("groovy_all"))
   compile("commons-cli:commons-cli:1.2")
+  permitUnusedDeclared("commons-cli:commons-cli:1.2") // BEAM-11761
 }
 
 task("runJavaExamplesValidationTask") {
diff --git a/runners/core-construction-java/build.gradle b/runners/core-construction-java/build.gradle
index c8d2d43..28e3ae1 100644
--- a/runners/core-construction-java/build.gradle
+++ b/runners/core-construction-java/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   classesTriggerCheckerBugs: [
     'WindowIntoTranslation': 'https://github.com/typetools/checker-framework/issues/3791',
     'FlattenTranslator': 'https://github.com/typetools/checker-framework/issues/3791',
diff --git a/runners/core-java/build.gradle b/runners/core-java/build.gradle
index c4207e5..52583df 100644
--- a/runners/core-java/build.gradle
+++ b/runners/core-java/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   classesTriggerCheckerBugs: [
     'InMemoryStateInternals': 'https://github.com/typetools/checker-framework/issues/3792',
     'MergingActiveWindowSetTest': 'https://github.com/typetools/checker-framework/issues/3792',
diff --git a/runners/direct-java/build.gradle b/runners/direct-java/build.gradle
index eada181..a0cc55f 100644
--- a/runners/direct-java/build.gradle
+++ b/runners/direct-java/build.gradle
@@ -30,7 +30,6 @@ def dependOnProjects = [":runners:core-construction-java",
                         ]
 
 applyJavaNature(
-        enableStrictDependencies:true,
         automaticModuleName: 'org.apache.beam.runners.direct',
         classesTriggerCheckerBugs: [
           'ImpulseEvaluatorFactory': 'https://github.com/typetools/checker-framework/issues/3791',
diff --git a/runners/extensions-java/metrics/build.gradle b/runners/extensions-java/metrics/build.gradle
index 999285a..af31d71 100644
--- a/runners/extensions-java/metrics/build.gradle
+++ b/runners/extensions-java/metrics/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   exportJavadoc: false,
   automaticModuleName: 'org.apache.beam.runners.extensions.metrics',
 )
diff --git a/runners/flink/job-server/flink_job_server.gradle b/runners/flink/job-server/flink_job_server.gradle
index 3c83ce9..f85ff08 100644
--- a/runners/flink/job-server/flink_job_server.gradle
+++ b/runners/flink/job-server/flink_job_server.gradle
@@ -30,7 +30,6 @@ apply plugin: 'application'
 mainClassName = "org.apache.beam.runners.flink.FlinkJobServerDriver"
 
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.runners.flink.jobserver',
   archivesBaseName: project.hasProperty('archives_base_name') ? archives_base_name : archivesBaseName,
   validateShadowJar: false,
diff --git a/runners/google-cloud-dataflow-java/build.gradle b/runners/google-cloud-dataflow-java/build.gradle
index d8fe8ff..706ec0d 100644
--- a/runners/google-cloud-dataflow-java/build.gradle
+++ b/runners/google-cloud-dataflow-java/build.gradle
@@ -20,6 +20,7 @@ import groovy.json.JsonOutput
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
+  enableStrictDependencies: false,
   automaticModuleName: 'org.apache.beam.runners.dataflow',
   classesTriggerCheckerBugs: [
     'PrimitiveParDoSingleFactory': 'https://github.com/typetools/checker-framework/issues/3791',
diff --git a/runners/google-cloud-dataflow-java/examples-streaming/build.gradle b/runners/google-cloud-dataflow-java/examples-streaming/build.gradle
index fd8705d..504a49b 100644
--- a/runners/google-cloud-dataflow-java/examples-streaming/build.gradle
+++ b/runners/google-cloud-dataflow-java/examples-streaming/build.gradle
@@ -19,7 +19,7 @@
 import groovy.json.JsonOutput
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(publish: false, exportJavadoc: false)
+applyJavaNature(enableStrictDependencies: false, publish: false, exportJavadoc: false)
 // Evaluate the given project before this one, to allow referencing
 // its sourceSets.test.output directly.
 evaluationDependsOn(":examples:java")
diff --git a/runners/google-cloud-dataflow-java/examples/build.gradle b/runners/google-cloud-dataflow-java/examples/build.gradle
index b128bc1..891a72d 100644
--- a/runners/google-cloud-dataflow-java/examples/build.gradle
+++ b/runners/google-cloud-dataflow-java/examples/build.gradle
@@ -19,7 +19,7 @@
 import groovy.json.JsonOutput
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(publish: false, exportJavadoc: false)
+applyJavaNature(enableStrictDependencies: false, publish: false, exportJavadoc: false)
 // Evaluate the given project before this one, to allow referencing
 // its sourceSets.test.output directly.
 evaluationDependsOn(":examples:java")
diff --git a/runners/google-cloud-dataflow-java/worker/build.gradle b/runners/google-cloud-dataflow-java/worker/build.gradle
index 201d40b..f4a1877 100644
--- a/runners/google-cloud-dataflow-java/worker/build.gradle
+++ b/runners/google-cloud-dataflow-java/worker/build.gradle
@@ -27,6 +27,7 @@ def DATAFLOW_VERSION = "dataflow.version"
 def google_api_services_dataflow = project.hasProperty(DATAFLOW_VERSION) ? "com.google.apis:google-api-services-dataflow:" + getProperty(DATAFLOW_VERSION) : library.java.google_api_services_dataflow
 
 applyJavaNature(
+  enableStrictDependencies: false,
   archivesBaseName: 'beam-runners-google-cloud-dataflow-java-fn-api-worker',
   publish: false,
   exportJavadoc: false,
diff --git a/runners/google-cloud-dataflow-java/worker/legacy-worker/build.gradle b/runners/google-cloud-dataflow-java/worker/legacy-worker/build.gradle
index e553334..1db7e37 100644
--- a/runners/google-cloud-dataflow-java/worker/legacy-worker/build.gradle
+++ b/runners/google-cloud-dataflow-java/worker/legacy-worker/build.gradle
@@ -82,6 +82,7 @@ def excluded_dependencies = [
 ]
 
 applyJavaNature(
+        enableStrictDependencies: false,
         archivesBaseName: 'beam-runners-google-cloud-dataflow-java-legacy-worker',
         publish: false,
         classesTriggerCheckerBugs: [
diff --git a/runners/java-fn-execution/build.gradle b/runners/java-fn-execution/build.gradle
index 325a9b8..87fc309 100644
--- a/runners/java-fn-execution/build.gradle
+++ b/runners/java-fn-execution/build.gradle
@@ -17,7 +17,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.runners.fnexecution',
 )
 
diff --git a/runners/java-job-service/build.gradle b/runners/java-job-service/build.gradle
index fe5e16d..0fe6f66 100644
--- a/runners/java-job-service/build.gradle
+++ b/runners/java-job-service/build.gradle
@@ -17,7 +17,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.runners.jobservice',
 )
 
diff --git a/runners/jet/build.gradle b/runners/jet/build.gradle
index bc679c2..16b7526 100644
--- a/runners/jet/build.gradle
+++ b/runners/jet/build.gradle
@@ -20,7 +20,6 @@ import groovy.json.JsonOutput
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies : true,
   automaticModuleName: 'org.apache.beam.runners.jet',
 )
 
diff --git a/runners/local-java/build.gradle b/runners/local-java/build.gradle
index 584ca7d..ac1789c 100644
--- a/runners/local-java/build.gradle
+++ b/runners/local-java/build.gradle
@@ -19,7 +19,6 @@
 plugins { id 'org.apache.beam.module' }
 
 applyJavaNature(
-    enableStrictDependencies: true,
     automaticModuleName: 'org.apache.beam.runners.local',
     archivesBaseName: 'beam-runners-local-java-core',
 
diff --git a/runners/portability/java/build.gradle b/runners/portability/java/build.gradle
index fd2d8c0..bce5404 100644
--- a/runners/portability/java/build.gradle
+++ b/runners/portability/java/build.gradle
@@ -19,7 +19,7 @@ import groovy.json.JsonOutput
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies:true, automaticModuleName: 'org.apache.beam.runners.portability')
+applyJavaNature(automaticModuleName: 'org.apache.beam.runners.portability')
 applyPythonNature()
 
 description = "Apache Beam :: Runners :: Portability :: Java"
diff --git a/runners/samza/build.gradle b/runners/samza/build.gradle
index 4f22afc..61e0aa9 100644
--- a/runners/samza/build.gradle
+++ b/runners/samza/build.gradle
@@ -20,7 +20,6 @@ import groovy.json.JsonOutput
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies : true,
   exportJavadoc: false,
   classesTriggerCheckerBugs: [
     'GroupWithoutRepartition': 'https://github.com/typetools/checker-framework/issues/3791',
diff --git a/runners/samza/job-server/build.gradle b/runners/samza/job-server/build.gradle
index 0a2b56c..7d554cd 100644
--- a/runners/samza/job-server/build.gradle
+++ b/runners/samza/job-server/build.gradle
@@ -22,7 +22,6 @@ apply plugin: 'application'
 mainClassName = "org.apache.beam.runners.samza.SamzaJobServerDriver"
 
 applyJavaNature(
-    enableStrictDependencies : true,
     automaticModuleName: 'org.apache.beam.runners.samza.jobserver',
     validateShadowJar: false,
 
diff --git a/runners/spark/build.gradle b/runners/spark/build.gradle
index 0ed83db..78624e1 100644
--- a/runners/spark/build.gradle
+++ b/runners/spark/build.gradle
@@ -21,7 +21,6 @@ import java.util.stream.Collectors
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.runners.spark',
   classesTriggerCheckerBugs: [
     'SparkAssignWindowFn': 'https://github.com/typetools/checker-framework/issues/3793',
diff --git a/runners/spark/job-server/build.gradle b/runners/spark/job-server/build.gradle
index cb38fe2..e4e14e7 100644
--- a/runners/spark/job-server/build.gradle
+++ b/runners/spark/job-server/build.gradle
@@ -28,7 +28,6 @@ apply plugin: 'application'
 mainClassName = "org.apache.beam.runners.spark.SparkJobServerDriver"
 
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.runners.spark.jobserver',
   validateShadowJar: false,
   exportJavadoc: false,
diff --git a/runners/twister2/build.gradle b/runners/twister2/build.gradle
index fcf8620..fc2bf93 100644
--- a/runners/twister2/build.gradle
+++ b/runners/twister2/build.gradle
@@ -21,7 +21,6 @@ import groovy.json.JsonOutput
 plugins { id 'org.apache.beam.module' }
 
 applyJavaNature(
-  enableStrictDependencies:true,
   automaticModuleName: 'org.apache.beam.runners.twister2',
 )
 
diff --git a/sdks/java/core/build.gradle b/sdks/java/core/build.gradle
index 4b32591..773d538 100644
--- a/sdks/java/core/build.gradle
+++ b/sdks/java/core/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk',
   classesTriggerCheckerBugs: [
     'DoFnTester': 'https://github.com/typetools/checker-framework/issues/3776',
diff --git a/sdks/java/expansion-service/build.gradle b/sdks/java/expansion-service/build.gradle
index ad2f7cf..7681cd3 100644
--- a/sdks/java/expansion-service/build.gradle
+++ b/sdks/java/expansion-service/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.expansion.service')
 
 description = "Apache Beam :: SDKs :: Java :: Expansion Service"
diff --git a/sdks/java/extensions/euphoria/build.gradle b/sdks/java/extensions/euphoria/build.gradle
index 1fe6c77..639c018 100644
--- a/sdks/java/extensions/euphoria/build.gradle
+++ b/sdks/java/extensions/euphoria/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   exportJavadoc: false,
   automaticModuleName: 'org.apache.beam.sdk.extensions.euphoria',
 )
diff --git a/sdks/java/extensions/google-cloud-platform-core/build.gradle b/sdks/java/extensions/google-cloud-platform-core/build.gradle
index b7fe283..504cc70 100644
--- a/sdks/java/extensions/google-cloud-platform-core/build.gradle
+++ b/sdks/java/extensions/google-cloud-platform-core/build.gradle
@@ -20,7 +20,6 @@ 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"
diff --git a/sdks/java/extensions/jackson/build.gradle b/sdks/java/extensions/jackson/build.gradle
index d316387..b9d2187 100644
--- a/sdks/java/extensions/jackson/build.gradle
+++ b/sdks/java/extensions/jackson/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-    enableStrictDependencies: true,
     automaticModuleName: 'org.apache.beam.sdk.extensions.jackson',
     archivesBaseName: 'beam-sdks-java-extensions-json-jackson'
 )
diff --git a/sdks/java/extensions/join-library/build.gradle b/sdks/java/extensions/join-library/build.gradle
index 45255c3..b8eca21 100644
--- a/sdks/java/extensions/join-library/build.gradle
+++ b/sdks/java/extensions/join-library/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.extensions.joinlibrary'
 )
 
diff --git a/sdks/java/extensions/kryo/build.gradle b/sdks/java/extensions/kryo/build.gradle
index 8cedc0e..8d14654 100644
--- a/sdks/java/extensions/kryo/build.gradle
+++ b/sdks/java/extensions/kryo/build.gradle
@@ -23,7 +23,6 @@ ext {
 }
 
 applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.extensions.kryo',
-    enableStrictDependencies: true,
     exportJavadoc: false,
     shadowClosure: {
     dependencies {
diff --git a/sdks/java/extensions/ml/build.gradle b/sdks/java/extensions/ml/build.gradle
index e5aa7d1..b231e8e 100644
--- a/sdks/java/extensions/ml/build.gradle
+++ b/sdks/java/extensions/ml/build.gradle
@@ -22,7 +22,6 @@ import groovy.json.JsonOutput
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-    enableStrictDependencies: true,
     automaticModuleName: 'org.apache.beam.sdk.extensions.ml'
 )
 
diff --git a/sdks/java/extensions/protobuf/build.gradle b/sdks/java/extensions/protobuf/build.gradle
index 4571e71..7695fb1 100644
--- a/sdks/java/extensions/protobuf/build.gradle
+++ b/sdks/java/extensions/protobuf/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   generatedClassPatterns: [
     /^org\.apache\.beam\.sdk\.extensions\.protobuf\.PayloadMessages/,
     /^org\.apache\.beam\.sdk\.extensions\.protobuf\.Proto2CoderTestMessages/,
diff --git a/sdks/java/extensions/sketching/build.gradle b/sdks/java/extensions/sketching/build.gradle
index 83a93f6..9a5891f 100644
--- a/sdks/java/extensions/sketching/build.gradle
+++ b/sdks/java/extensions/sketching/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.extensions.sketching')
 
 description = "Apache Beam :: SDKs :: Java :: Extensions :: Sketching"
diff --git a/sdks/java/extensions/sorter/build.gradle b/sdks/java/extensions/sorter/build.gradle
index 52b95c6..9072fec 100644
--- a/sdks/java/extensions/sorter/build.gradle
+++ b/sdks/java/extensions/sorter/build.gradle
@@ -20,7 +20,6 @@ import java.util.stream.Collectors
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.extensions.sorter')
 
 description = "Apache Beam :: SDKs :: Java :: Extensions :: Sorter"
diff --git a/sdks/java/extensions/sql/build.gradle b/sdks/java/extensions/sql/build.gradle
index 6758e4b..601b173 100644
--- a/sdks/java/extensions/sql/build.gradle
+++ b/sdks/java/extensions/sql/build.gradle
@@ -24,7 +24,6 @@ plugins {
   id 'ca.coglinc.javacc'
 }
 applyJavaNature(
-  enableStrictDependencies: true,
   generatedClassPatterns: [
     /^org\.apache\.beam\.sdk\.extensions\.sql\.impl\.parser\.impl.*/,
   ],
diff --git a/sdks/java/extensions/sql/datacatalog/build.gradle b/sdks/java/extensions/sql/datacatalog/build.gradle
index 8b9289d..8c0f490 100644
--- a/sdks/java/extensions/sql/datacatalog/build.gradle
+++ b/sdks/java/extensions/sql/datacatalog/build.gradle
@@ -21,7 +21,6 @@ import groovy.json.JsonOutput
 plugins { id 'org.apache.beam.module' }
 
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.extensions.sql.datacatalog')
 
 dependencies {
diff --git a/sdks/java/extensions/sql/expansion-service/build.gradle b/sdks/java/extensions/sql/expansion-service/build.gradle
index c14e141..37f1629 100644
--- a/sdks/java/extensions/sql/expansion-service/build.gradle
+++ b/sdks/java/extensions/sql/expansion-service/build.gradle
@@ -18,7 +18,6 @@
 plugins { id 'org.apache.beam.module' }
 
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdks.extensions.sql.expansion',
   validateShadowJar: false,
   shadowClosure: {
diff --git a/sdks/java/extensions/sql/hcatalog/build.gradle b/sdks/java/extensions/sql/hcatalog/build.gradle
index f553916..678492e 100644
--- a/sdks/java/extensions/sql/hcatalog/build.gradle
+++ b/sdks/java/extensions/sql/hcatalog/build.gradle
@@ -19,7 +19,6 @@
 plugins { id 'org.apache.beam.module' }
 
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.extensions.sql.meta.provider.hcatalog',
   classesTriggerCheckerBugs: [
     'HCatalogTable': 'TODO: file a bug report',
diff --git a/sdks/java/extensions/sql/jdbc/build.gradle b/sdks/java/extensions/sql/jdbc/build.gradle
index 0b2e42e..a1c99cf 100644
--- a/sdks/java/extensions/sql/jdbc/build.gradle
+++ b/sdks/java/extensions/sql/jdbc/build.gradle
@@ -20,7 +20,6 @@ import groovy.json.JsonOutput
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.extensions.sql.jdbc',
-  enableStrictDependencies: true,
   exportJavadoc: false,
   testShadowJar: true,
   validateShadowJar: false,
diff --git a/sdks/java/extensions/sql/perf-tests/build.gradle b/sdks/java/extensions/sql/perf-tests/build.gradle
index 4c24bce..8af316e 100644
--- a/sdks/java/extensions/sql/perf-tests/build.gradle
+++ b/sdks/java/extensions/sql/perf-tests/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.extensions.sql.meta.provider')
 provideIntegrationTestingDependencies()
 enableJavaPerformanceTesting()
diff --git a/sdks/java/extensions/sql/udf-test-provider/build.gradle b/sdks/java/extensions/sql/udf-test-provider/build.gradle
index 8db545f..461a4a8 100644
--- a/sdks/java/extensions/sql/udf-test-provider/build.gradle
+++ b/sdks/java/extensions/sql/udf-test-provider/build.gradle
@@ -21,7 +21,6 @@ plugins {
 }
 
 applyJavaNature(
-    enableStrictDependencies: true,
     automaticModuleName: 'org.apache.beam.sdk.extensions.sql.provider',
     publish: false,
 )
diff --git a/sdks/java/extensions/sql/udf/build.gradle b/sdks/java/extensions/sql/udf/build.gradle
index adb6e7c..24077fc 100644
--- a/sdks/java/extensions/sql/udf/build.gradle
+++ b/sdks/java/extensions/sql/udf/build.gradle
@@ -19,7 +19,6 @@
 plugins { id 'org.apache.beam.module' }
 
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.extensions.sql.udf')
 
 description = "Apache Beam :: SDKs :: Java :: Extensions :: SQL :: UDF"
diff --git a/sdks/java/extensions/sql/zetasql/build.gradle b/sdks/java/extensions/sql/zetasql/build.gradle
index 9a623d7..5c5b8bb 100644
--- a/sdks/java/extensions/sql/zetasql/build.gradle
+++ b/sdks/java/extensions/sql/zetasql/build.gradle
@@ -21,7 +21,6 @@ plugins {
 }
 
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.extensions.sql.zetasql',
 )
 
diff --git a/sdks/java/extensions/zetasketch/build.gradle b/sdks/java/extensions/zetasketch/build.gradle
index 9acd375..6143285 100644
--- a/sdks/java/extensions/zetasketch/build.gradle
+++ b/sdks/java/extensions/zetasketch/build.gradle
@@ -20,7 +20,6 @@ import groovy.json.JsonOutput
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.extensions.zetasketch')
 
 description = "Apache Beam :: SDKs :: Java :: Extensions :: ZetaSketch"
diff --git a/sdks/java/fn-execution/build.gradle b/sdks/java/fn-execution/build.gradle
index 6f9eec8..ae98dee 100644
--- a/sdks/java/fn-execution/build.gradle
+++ b/sdks/java/fn-execution/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.fn',
 )
 
diff --git a/sdks/java/harness/build.gradle b/sdks/java/harness/build.gradle
index d1b8292..093504a 100644
--- a/sdks/java/harness/build.gradle
+++ b/sdks/java/harness/build.gradle
@@ -27,7 +27,6 @@ def dependOnProjects = [":sdks:java:fn-execution",
                         ":runners:core-java", ":runners:core-construction-java"]
 
 applyJavaNature(
-  enableStrictDependencies: true,
   classesTriggerCheckerBugs: [
     'AssignWindowsRunner': 'https://github.com/typetools/checker-framework/issues/3794',
     'WindowMergingFnRunner': 'https://github.com/typetools/checker-framework/issues/3794',
diff --git a/sdks/java/io/amazon-web-services/build.gradle b/sdks/java/io/amazon-web-services/build.gradle
index 33d1b4f..69542e6 100644
--- a/sdks/java/io/amazon-web-services/build.gradle
+++ b/sdks/java/io/amazon-web-services/build.gradle
@@ -23,7 +23,6 @@ plugins {
 }
 
 applyJavaNature(
-  enableStrictDependencies:true,
   automaticModuleName: 'org.apache.beam.sdk.io.aws',
 )
 
diff --git a/sdks/java/io/amazon-web-services2/build.gradle b/sdks/java/io/amazon-web-services2/build.gradle
index 618c71f..075cd89 100644
--- a/sdks/java/io/amazon-web-services2/build.gradle
+++ b/sdks/java/io/amazon-web-services2/build.gradle
@@ -20,7 +20,6 @@ import groovy.json.JsonOutput
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies:true,
   automaticModuleName: 'org.apache.beam.sdk.io.aws2',
 )
 provideIntegrationTestingDependencies()
diff --git a/sdks/java/io/amqp/build.gradle b/sdks/java/io/amqp/build.gradle
index 48872de..db3317c 100644
--- a/sdks/java/io/amqp/build.gradle
+++ b/sdks/java/io/amqp/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies:true,automaticModuleName: 'org.apache.beam.sdk.io.amqp')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.amqp')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: AMQP"
 ext.summary = "IO to read and write using AMQP 1.0 protocol (http://www.amqp.org)."
diff --git a/sdks/java/io/azure/build.gradle b/sdks/java/io/azure/build.gradle
index bfc6cd5..18596e4 100644
--- a/sdks/java/io/azure/build.gradle
+++ b/sdks/java/io/azure/build.gradle
@@ -21,7 +21,6 @@ plugins {
 }
 
 applyJavaNature(
-  enableStrictDependencies:true,
   automaticModuleName: 'org.apache.beam.sdk.io.azure')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: Azure"
diff --git a/sdks/java/io/bigquery-io-perf-tests/build.gradle b/sdks/java/io/bigquery-io-perf-tests/build.gradle
index ee5c123..9c02f42 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(enableStrictDependencies: true, exportJavadoc: false, publish: false)
+applyJavaNature(exportJavadoc: false, publish: false)
 provideIntegrationTestingDependencies()
 enableJavaPerformanceTesting()
 
diff --git a/sdks/java/io/cassandra/build.gradle b/sdks/java/io/cassandra/build.gradle
index fa6159f..17b693a 100644
--- a/sdks/java/io/cassandra/build.gradle
+++ b/sdks/java/io/cassandra/build.gradle
@@ -20,7 +20,6 @@ plugins { id 'org.apache.beam.module' }
 
 // Do not relocate guava to avoid issues with Cassandra's version.
 applyJavaNature(
-  enableStrictDependencies:true,
   automaticModuleName: 'org.apache.beam.sdk.io.cassandra',
 )
 provideIntegrationTestingDependencies()
diff --git a/sdks/java/io/clickhouse/build.gradle b/sdks/java/io/clickhouse/build.gradle
index a447852..245b01a 100644
--- a/sdks/java/io/clickhouse/build.gradle
+++ b/sdks/java/io/clickhouse/build.gradle
@@ -22,7 +22,6 @@ plugins {
 }
 applyJavaNature(
   automaticModuleName: 'org.apache.beam.sdk.io.clickhouse',
-  enableStrictDependencies: true,
   generatedClassPatterns: [
     /^org\.apache\.beam\.sdk\.io\.clickhouse\.impl\.parser\..*/,
   ],
diff --git a/sdks/java/io/common/build.gradle b/sdks/java/io/common/build.gradle
index dfd3e46..a17e2b7 100644
--- a/sdks/java/io/common/build.gradle
+++ b/sdks/java/io/common/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies:true,exportJavadoc: false, automaticModuleName: 'org.apache.beam.sdk.io.common')
+applyJavaNature(exportJavadoc: false, automaticModuleName: 'org.apache.beam.sdk.io.common')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: Common"
 ext.summary = "Code used by all Beam IOs"
diff --git a/sdks/java/io/contextualtextio/build.gradle b/sdks/java/io/contextualtextio/build.gradle
index 779ce46..dc242e0 100644
--- a/sdks/java/io/contextualtextio/build.gradle
+++ b/sdks/java/io/contextualtextio/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-        enableStrictDependencies: true,
         automaticModuleName: 'org.apache.beam.sdk.io.contextualtextio',
 )
 
diff --git a/sdks/java/io/debezium/build.gradle b/sdks/java/io/debezium/build.gradle
index 4dc4b5c..2eb41b5 100644
--- a/sdks/java/io/debezium/build.gradle
+++ b/sdks/java/io/debezium/build.gradle
@@ -19,6 +19,7 @@ import groovy.json.JsonOutput
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
+        enableStrictDependencies: false,
         automaticModuleName: 'org.apache.beam.sdk.io.debezium',
         mavenRepositories: [
                 [id: 'io.confluent', url: 'https://packages.confluent.io/maven/']
diff --git a/sdks/java/io/elasticsearch-tests/elasticsearch-tests-2/build.gradle b/sdks/java/io/elasticsearch-tests/elasticsearch-tests-2/build.gradle
index 7bda31e..a627e62 100644
--- a/sdks/java/io/elasticsearch-tests/elasticsearch-tests-2/build.gradle
+++ b/sdks/java/io/elasticsearch-tests/elasticsearch-tests-2/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-    enableStrictDependencies:true,
     publish: false,
     archivesBaseName: 'beam-sdks-java-io-elasticsearch-tests-2'
 )
diff --git a/sdks/java/io/elasticsearch-tests/elasticsearch-tests-5/build.gradle b/sdks/java/io/elasticsearch-tests/elasticsearch-tests-5/build.gradle
index f32d630..b017cac 100644
--- a/sdks/java/io/elasticsearch-tests/elasticsearch-tests-5/build.gradle
+++ b/sdks/java/io/elasticsearch-tests/elasticsearch-tests-5/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-    enableStrictDependencies:true,
     publish: false,
     archivesBaseName: 'beam-sdks-java-io-elasticsearch-tests-5'
 )
diff --git a/sdks/java/io/elasticsearch-tests/elasticsearch-tests-6/build.gradle b/sdks/java/io/elasticsearch-tests/elasticsearch-tests-6/build.gradle
index fac39fb..15f3bbf 100644
--- a/sdks/java/io/elasticsearch-tests/elasticsearch-tests-6/build.gradle
+++ b/sdks/java/io/elasticsearch-tests/elasticsearch-tests-6/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-    enableStrictDependencies:true,
     publish: false,
     archivesBaseName: 'beam-sdks-java-io-elasticsearch-tests-6'
 )
diff --git a/sdks/java/io/elasticsearch-tests/elasticsearch-tests-7/build.gradle b/sdks/java/io/elasticsearch-tests/elasticsearch-tests-7/build.gradle
index 9984da9..5b04c7b 100644
--- a/sdks/java/io/elasticsearch-tests/elasticsearch-tests-7/build.gradle
+++ b/sdks/java/io/elasticsearch-tests/elasticsearch-tests-7/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-    enableStrictDependencies:true,
     publish: false,
     archivesBaseName: 'beam-sdks-java-io-elasticsearch-tests-7'
 )
diff --git a/sdks/java/io/elasticsearch-tests/elasticsearch-tests-common/build.gradle b/sdks/java/io/elasticsearch-tests/elasticsearch-tests-common/build.gradle
index 52924ba..1b46a13 100644
--- a/sdks/java/io/elasticsearch-tests/elasticsearch-tests-common/build.gradle
+++ b/sdks/java/io/elasticsearch-tests/elasticsearch-tests-common/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-    enableStrictDependencies:true,
     publish: false,
     archivesBaseName: 'beam-sdks-java-io-elasticsearch-tests-common'
 )
diff --git a/sdks/java/io/elasticsearch/build.gradle b/sdks/java/io/elasticsearch/build.gradle
index 8f58e31..ebe1372 100644
--- a/sdks/java/io/elasticsearch/build.gradle
+++ b/sdks/java/io/elasticsearch/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies: true, automaticModuleName: 'org.apache.beam.sdk.io.elasticsearch')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.elasticsearch')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: Elasticsearch"
 ext.summary = "IO to read and write on Elasticsearch"
diff --git a/sdks/java/io/expansion-service/build.gradle b/sdks/java/io/expansion-service/build.gradle
index 3d3ac72..44e5c99 100644
--- a/sdks/java/io/expansion-service/build.gradle
+++ b/sdks/java/io/expansion-service/build.gradle
@@ -21,7 +21,6 @@ apply plugin: 'application'
 mainClassName = "org.apache.beam.sdk.expansion.service.ExpansionService"
 
 applyJavaNature(
-  enableStrictDependencies:true,
   automaticModuleName: 'org.apache.beam.sdk.io.expansion.service',
   exportJavadoc: false,
   validateShadowJar: false,
diff --git a/sdks/java/io/file-based-io-tests/build.gradle b/sdks/java/io/file-based-io-tests/build.gradle
index 268a247..b47a51d 100644
--- a/sdks/java/io/file-based-io-tests/build.gradle
+++ b/sdks/java/io/file-based-io-tests/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies: true, exportJavadoc: false, publish: false)
+applyJavaNature(exportJavadoc: false, publish: false)
 provideIntegrationTestingDependencies()
 enableJavaPerformanceTesting()
 
diff --git a/sdks/java/io/google-cloud-platform/build.gradle b/sdks/java/io/google-cloud-platform/build.gradle
index 09deb85..becabb2 100644
--- a/sdks/java/io/google-cloud-platform/build.gradle
+++ b/sdks/java/io/google-cloud-platform/build.gradle
@@ -20,7 +20,6 @@ import groovy.json.JsonOutput
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.io.gcp',
   enableSpotbugs: false,
 )
diff --git a/sdks/java/io/google-cloud-platform/expansion-service/build.gradle b/sdks/java/io/google-cloud-platform/expansion-service/build.gradle
index e549883..dea464b 100644
--- a/sdks/java/io/google-cloud-platform/expansion-service/build.gradle
+++ b/sdks/java/io/google-cloud-platform/expansion-service/build.gradle
@@ -21,7 +21,6 @@ apply plugin: 'application'
 mainClassName = "org.apache.beam.sdk.expansion.service.ExpansionService"
 
 applyJavaNature(
-        enableStrictDependencies: true,
         automaticModuleName: 'org.apache.beam.sdk.io.gcp.expansion.service',
         exportJavadoc: false,
         validateShadowJar: false,
diff --git a/sdks/java/io/hadoop-common/build.gradle b/sdks/java/io/hadoop-common/build.gradle
index dbb9a4a..5520737 100644
--- a/sdks/java/io/hadoop-common/build.gradle
+++ b/sdks/java/io/hadoop-common/build.gradle
@@ -19,7 +19,7 @@
 import java.util.stream.Collectors
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies:true,automaticModuleName: 'org.apache.beam.sdk.io.hadoop.common')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.hadoop.common')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: Hadoop Common"
 ext.summary = "Library to add shared Hadoop classes among Beam IOs."
diff --git a/sdks/java/io/hadoop-file-system/build.gradle b/sdks/java/io/hadoop-file-system/build.gradle
index 3d30ac6..940dcb7 100644
--- a/sdks/java/io/hadoop-file-system/build.gradle
+++ b/sdks/java/io/hadoop-file-system/build.gradle
@@ -20,7 +20,6 @@ import java.util.stream.Collectors
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies:true,
   automaticModuleName: 'org.apache.beam.sdk.io.hdfs')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: Hadoop File System"
diff --git a/sdks/java/io/hadoop-format/build.gradle b/sdks/java/io/hadoop-format/build.gradle
index f7d9072..e3886ef 100644
--- a/sdks/java/io/hadoop-format/build.gradle
+++ b/sdks/java/io/hadoop-format/build.gradle
@@ -21,7 +21,6 @@ import java.util.stream.Collectors
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies:true,
   automaticModuleName: 'org.apache.beam.sdk.io.hadoop.format',
 )
 provideIntegrationTestingDependencies()
diff --git a/sdks/java/io/hbase/build.gradle b/sdks/java/io/hbase/build.gradle
index 143613f..93a502d 100644
--- a/sdks/java/io/hbase/build.gradle
+++ b/sdks/java/io/hbase/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies:true,automaticModuleName: 'org.apache.beam.sdk.io.hbase')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.hbase')
 provideIntegrationTestingDependencies()
 enableJavaPerformanceTesting()
 
diff --git a/sdks/java/io/hcatalog/build.gradle b/sdks/java/io/hcatalog/build.gradle
index 3706004..ea4d965 100644
--- a/sdks/java/io/hcatalog/build.gradle
+++ b/sdks/java/io/hcatalog/build.gradle
@@ -19,7 +19,7 @@
 import java.util.stream.Collectors
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies: true, automaticModuleName: 'org.apache.beam.sdk.io.hcatalog')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.hcatalog')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: HCatalog"
 ext.summary = "IO to read and write for HCatalog source."
diff --git a/sdks/java/io/influxdb/build.gradle b/sdks/java/io/influxdb/build.gradle
index a2c0152..4bbe170 100644
--- a/sdks/java/io/influxdb/build.gradle
+++ b/sdks/java/io/influxdb/build.gradle
@@ -17,7 +17,7 @@
 */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies: true, automaticModuleName: 'org.apache.beam.sdk.io.influxdb')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.influxdb')
 provideIntegrationTestingDependencies()
 enableJavaPerformanceTesting()
 
diff --git a/sdks/java/io/jdbc/build.gradle b/sdks/java/io/jdbc/build.gradle
index 3315e04..ca8616b 100644
--- a/sdks/java/io/jdbc/build.gradle
+++ b/sdks/java/io/jdbc/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.io.jdbc',
 )
 provideIntegrationTestingDependencies()
diff --git a/sdks/java/io/jms/build.gradle b/sdks/java/io/jms/build.gradle
index 7dfca38..69cd88f 100644
--- a/sdks/java/io/jms/build.gradle
+++ b/sdks/java/io/jms/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.io.jms',
 )
 
diff --git a/sdks/java/io/kafka/build.gradle b/sdks/java/io/kafka/build.gradle
index 51bb13e..df76a82 100644
--- a/sdks/java/io/kafka/build.gradle
+++ b/sdks/java/io/kafka/build.gradle
@@ -20,7 +20,6 @@ import java.util.stream.Collectors
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.io.kafka',
   mavenRepositories: [
     [id: 'io.confluent', url: 'https://packages.confluent.io/maven/']
diff --git a/sdks/java/io/kinesis/build.gradle b/sdks/java/io/kinesis/build.gradle
index 06d4b04..ccd23c6 100644
--- a/sdks/java/io/kinesis/build.gradle
+++ b/sdks/java/io/kinesis/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies: true, automaticModuleName: 'org.apache.beam.sdk.io.kinesis')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.kinesis')
 provideIntegrationTestingDependencies()
 enableJavaPerformanceTesting()
 
diff --git a/sdks/java/io/kinesis/expansion-service/build.gradle b/sdks/java/io/kinesis/expansion-service/build.gradle
index 97adc62..c186e63 100644
--- a/sdks/java/io/kinesis/expansion-service/build.gradle
+++ b/sdks/java/io/kinesis/expansion-service/build.gradle
@@ -21,7 +21,6 @@ apply plugin: 'application'
 mainClassName = "org.apache.beam.sdk.expansion.service.ExpansionService"
 
 applyJavaNature(
-    enableStrictDependencies: true,
     automaticModuleName: 'org.apache.beam.sdk.io.kinesis.expansion.service',
     exportJavadoc: false,
     validateShadowJar: false,
diff --git a/sdks/java/io/kudu/build.gradle b/sdks/java/io/kudu/build.gradle
index 07e8a52..7f28d5e 100644
--- a/sdks/java/io/kudu/build.gradle
+++ b/sdks/java/io/kudu/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies:true,
   classesTriggerCheckerBugs: [
     'KuduTestUtils': 'TODO: file a bug report',
     'KuduIOIT': 'TODO: file a bug report',
diff --git a/sdks/java/io/mongodb/build.gradle b/sdks/java/io/mongodb/build.gradle
index 9250d5b..e84cb77 100644
--- a/sdks/java/io/mongodb/build.gradle
+++ b/sdks/java/io/mongodb/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies:true,automaticModuleName: 'org.apache.beam.sdk.io.mongodb')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.mongodb')
 provideIntegrationTestingDependencies()
 enableJavaPerformanceTesting()
 
diff --git a/sdks/java/io/mqtt/build.gradle b/sdks/java/io/mqtt/build.gradle
index ea6ecd9..40a0825 100644
--- a/sdks/java/io/mqtt/build.gradle
+++ b/sdks/java/io/mqtt/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies: true, automaticModuleName: 'org.apache.beam.sdk.io.mqtt')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.mqtt')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: MQTT"
 ext.summary = "IO to read and write to a MQTT broker."
diff --git a/sdks/java/io/parquet/build.gradle b/sdks/java/io/parquet/build.gradle
index a117bc6..b1c7f92 100644
--- a/sdks/java/io/parquet/build.gradle
+++ b/sdks/java/io/parquet/build.gradle
@@ -20,7 +20,6 @@ import java.util.stream.Collectors
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.io.parquet',
 )
 
diff --git a/sdks/java/io/rabbitmq/build.gradle b/sdks/java/io/rabbitmq/build.gradle
index 7d8f0dc..2b80084 100644
--- a/sdks/java/io/rabbitmq/build.gradle
+++ b/sdks/java/io/rabbitmq/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies:true,automaticModuleName: 'org.apache.beam.sdk.io.rabbitmq')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.rabbitmq')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: RabbitMQ"
 ext.summary = "IO to read and write to a RabbitMQ broker."
diff --git a/sdks/java/io/redis/build.gradle b/sdks/java/io/redis/build.gradle
index 53a7b5b..a09900a 100644
--- a/sdks/java/io/redis/build.gradle
+++ b/sdks/java/io/redis/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies:true,automaticModuleName: 'org.apache.beam.sdk.io.redis')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.redis')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: Redis"
 ext.summary ="IO to read and write on a Redis keystore."
diff --git a/sdks/java/io/snowflake/build.gradle b/sdks/java/io/snowflake/build.gradle
index 6649842..c3c5d06 100644
--- a/sdks/java/io/snowflake/build.gradle
+++ b/sdks/java/io/snowflake/build.gradle
@@ -17,7 +17,6 @@
  */
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies:true,
   automaticModuleName: 'org.apache.beam.sdk.io.snowflake',
 )
 provideIntegrationTestingDependencies()
diff --git a/sdks/java/io/snowflake/expansion-service/build.gradle b/sdks/java/io/snowflake/expansion-service/build.gradle
index 14a3569..247a622 100644
--- a/sdks/java/io/snowflake/expansion-service/build.gradle
+++ b/sdks/java/io/snowflake/expansion-service/build.gradle
@@ -21,7 +21,6 @@ apply plugin: 'application'
 mainClassName = "org.apache.beam.sdk.expansion.service.ExpansionService"
 
 applyJavaNature(
-  enableStrictDependencies:true,
   automaticModuleName: 'org.apache.beam.sdk.io.expansion.service',
   exportJavadoc: false,
   validateShadowJar: false,
diff --git a/sdks/java/io/solr/build.gradle b/sdks/java/io/solr/build.gradle
index fb43163..efdfde2 100644
--- a/sdks/java/io/solr/build.gradle
+++ b/sdks/java/io/solr/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.io.solr',
 )
 
diff --git a/sdks/java/io/splunk/build.gradle b/sdks/java/io/splunk/build.gradle
index 5e47d0e..0a29d1e 100644
--- a/sdks/java/io/splunk/build.gradle
+++ b/sdks/java/io/splunk/build.gradle
@@ -19,7 +19,7 @@
 plugins {
     id 'org.apache.beam.module'
 }
-applyJavaNature(enableStrictDependencies: true, automaticModuleName: 'org.apache.beam.sdk.io.splunk')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.splunk')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: Splunk"
 ext.summary = "IO to write events to Splunk Http Event Collector (HEC)"
diff --git a/sdks/java/io/synthetic/build.gradle b/sdks/java/io/synthetic/build.gradle
index 68d916f..65d58ce 100644
--- a/sdks/java/io/synthetic/build.gradle
+++ b/sdks/java/io/synthetic/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   exportJavadoc: false,
   automaticModuleName: 'org.apache.beam.sdk.io.synthetic',
 )
diff --git a/sdks/java/io/thrift/build.gradle b/sdks/java/io/thrift/build.gradle
index a953b5c..3de5d30 100644
--- a/sdks/java/io/thrift/build.gradle
+++ b/sdks/java/io/thrift/build.gradle
@@ -21,7 +21,6 @@ plugins {
     // id "org.jruyi.thrift" version "0.4.1"
 }
 applyJavaNature(
-        enableStrictDependencies: true,
         automaticModuleName: 'org.apache.beam.sdk.io.thrift',
         generatedClassPatterns: [
                 /^org\.apache\.beam\.sdk\.io\.thrift\.payloads.*/,
diff --git a/sdks/java/io/tika/build.gradle b/sdks/java/io/tika/build.gradle
index e233e43..a35a569 100644
--- a/sdks/java/io/tika/build.gradle
+++ b/sdks/java/io/tika/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies: true, automaticModuleName: 'org.apache.beam.sdk.io.tika')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.tika')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: Tika"
 ext.summary = "Tika Input to parse files."
diff --git a/sdks/java/io/xml/build.gradle b/sdks/java/io/xml/build.gradle
index 117633d..3b7698d 100644
--- a/sdks/java/io/xml/build.gradle
+++ b/sdks/java/io/xml/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies: true, automaticModuleName: 'org.apache.beam.sdk.io.xml')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.io.xml')
 
 description = "Apache Beam :: SDKs :: Java :: IO :: XML"
 ext.summary = "IO to read and write XML files."
diff --git a/sdks/java/maven-archetypes/examples/build.gradle b/sdks/java/maven-archetypes/examples/build.gradle
index a1a91ec..78ac4d8 100644
--- a/sdks/java/maven-archetypes/examples/build.gradle
+++ b/sdks/java/maven-archetypes/examples/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(exportJavadoc: false, automaticModuleName: 'org.apache.beam.maven.archetypes.examples')
+applyJavaNature(enableStrictDependencies: false, exportJavadoc: false, automaticModuleName: 'org.apache.beam.maven.archetypes.examples')
 
 description = "Apache Beam :: SDKs :: Java :: Maven Archetypes :: Examples"
 ext.summary = """A Maven Archetype to create a project containing all the
diff --git a/sdks/java/maven-archetypes/gcp-bom-examples/build.gradle b/sdks/java/maven-archetypes/gcp-bom-examples/build.gradle
index fe33e2e..62a47ce 100644
--- a/sdks/java/maven-archetypes/gcp-bom-examples/build.gradle
+++ b/sdks/java/maven-archetypes/gcp-bom-examples/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(exportJavadoc: false, automaticModuleName: 'org.apache.beam.maven.archetypes.gcp.bom.examples')
+applyJavaNature(enableStrictDependencies: false, exportJavadoc: false, automaticModuleName: 'org.apache.beam.maven.archetypes.gcp.bom.examples')
 
 // Based off of :sdks:java:maven-archetypes:examples project
 description = "Apache Beam :: SDKs :: Java :: Maven Archetypes :: Google Cloud Platform BOM Examples"
diff --git a/sdks/java/maven-archetypes/starter/build.gradle b/sdks/java/maven-archetypes/starter/build.gradle
index 850c661..5f087c6 100644
--- a/sdks/java/maven-archetypes/starter/build.gradle
+++ b/sdks/java/maven-archetypes/starter/build.gradle
@@ -17,7 +17,7 @@
  */
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(exportJavadoc: false, automaticModuleName: 'org.apache.beam.maven.archetypes.starter')
+applyJavaNature(enableStrictDependencies: false, exportJavadoc: false, automaticModuleName: 'org.apache.beam.maven.archetypes.starter')
 
 description = "Apache Beam :: SDKs :: Java :: Maven Archetypes :: Starter"
 ext.summary = """A Maven archetype to create a simple starter pipeline to
diff --git a/sdks/java/testing/expansion-service/build.gradle b/sdks/java/testing/expansion-service/build.gradle
index 5450a2a..45ca023 100644
--- a/sdks/java/testing/expansion-service/build.gradle
+++ b/sdks/java/testing/expansion-service/build.gradle
@@ -19,7 +19,6 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-  enableStrictDependencies: true,
   automaticModuleName: 'org.apache.beam.sdk.testing.expansion',
 )
 
diff --git a/sdks/java/testing/jpms-tests/build.gradle b/sdks/java/testing/jpms-tests/build.gradle
index 3d52ea0..3c5ff7e 100644
--- a/sdks/java/testing/jpms-tests/build.gradle
+++ b/sdks/java/testing/jpms-tests/build.gradle
@@ -23,7 +23,6 @@ plugins {
 }
 javaVersion="1.11"
 applyJavaNature(
-  enableStrictDependencies: true,
   exportJavadoc: false,
   publish: false,
   disableLintWarnings: ['requires-transitive-automatic', 'requires-automatic']
diff --git a/sdks/java/testing/kafka-service/build.gradle b/sdks/java/testing/kafka-service/build.gradle
index 3819bf2..f096674 100644
--- a/sdks/java/testing/kafka-service/build.gradle
+++ b/sdks/java/testing/kafka-service/build.gradle
@@ -18,7 +18,7 @@
 import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
 
 plugins { id 'org.apache.beam.module' }
-applyJavaNature(enableStrictDependencies: true, automaticModuleName: 'org.apache.beam.sdk.testing.kafka')
+applyJavaNature(automaticModuleName: 'org.apache.beam.sdk.testing.kafka')
 
 description = "Apache Beam :: SDKs :: Java :: Test Kafka Service"
 ext.summary = """Self-contained Kafka service for testing IO transforms."""
diff --git a/sdks/java/testing/load-tests/build.gradle b/sdks/java/testing/load-tests/build.gradle
index 5f188cb..5c60110 100644
--- a/sdks/java/testing/load-tests/build.gradle
+++ b/sdks/java/testing/load-tests/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-    enableStrictDependencies: true,
     publish: false,
     archivesBaseName: 'beam-sdks-java-load-tests',
     exportJavadoc: false
diff --git a/sdks/java/testing/nexmark/build.gradle b/sdks/java/testing/nexmark/build.gradle
index 0d3af35..74184c9 100644
--- a/sdks/java/testing/nexmark/build.gradle
+++ b/sdks/java/testing/nexmark/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-    enableStrictDependencies: true,
     automaticModuleName: 'org.apache.beam.sdk.nexmark',
     exportJavadoc: false,
     archivesBaseName: 'beam-sdks-java-nexmark',
diff --git a/sdks/java/testing/test-utils/build.gradle b/sdks/java/testing/test-utils/build.gradle
index 5dda043..e21c546 100644
--- a/sdks/java/testing/test-utils/build.gradle
+++ b/sdks/java/testing/test-utils/build.gradle
@@ -18,7 +18,6 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
-    enableStrictDependencies: true,
     exportJavadoc: false,
     automaticModuleName: 'org.apache.beam.sdk.testutils',
     archivesBaseName: 'beam-sdks-java-test-utils'
diff --git a/sdks/java/testing/watermarks/build.gradle b/sdks/java/testing/watermarks/build.gradle
index e3a81d9..66c1fbb 100644
--- a/sdks/java/testing/watermarks/build.gradle
+++ b/sdks/java/testing/watermarks/build.gradle
@@ -18,6 +18,7 @@
 
 plugins { id 'org.apache.beam.module' }
 applyJavaNature(
+    enableStrictDependencies: false,
     publish: false,
     archivesBaseName: 'beam-sdks-java-watermark-latency',
     exportJavadoc: false


Mime
View raw message