diff options
author | Esteban de la Canal <estebandlc@google.com> | 2021-02-03 12:25:29 -0800 |
---|---|---|
committer | Esteban de la Canal <estebandlc@google.com> | 2021-02-06 13:55:58 -0800 |
commit | 59b710669ad48b00855939e548820a74f3b36c27 (patch) | |
tree | dbfd721930a870a74d3dae0ac0140e5e5ba17b67 | |
parent | 9f8be05046eeaece57bd60ee44f675b5adfc4a81 (diff) | |
download | data-binding-59b710669ad48b00855939e548820a74f3b36c27.tar.gz |
Moves bundled dependencies to plugin def
This change moves the bundled library dependencies
from being defined on each module to the plugin definition.
Additionally this change introduces the same check for libraries
than the one we have for modules: If a module needs a library
dependency, then plugin layout is used to verify that the dependency
is satisfied in production.
Test: Added check at build time
Bug: 179064916
Change-Id: I992d0856e29a53f59b9bd627838f4279a340663e
-rw-r--r-- | BUILD.bazel | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index e6f63a6c..ca4d8b4d 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -86,12 +86,6 @@ iml_module( "compilerCommon/src/main/xml-gen", "compilerCommon/src/main/grammar-gen", ], - bundled_deps = [ - "//prebuilts/tools/common/m2/repository/org/antlr/antlr4-runtime/4.5.3:antlr4-runtime", - "//prebuilts/tools/common/m2/repository/com/googlecode/juniversalchardet/juniversalchardet/1.0.3:juniversalchardet", - "//prebuilts/tools/common/m2/repository/com/squareup/javapoet/1.10.0:javapoet", - "//prebuilts/tools/common/m2/repository/com/android/tools/build/jetifier/jetifier-core/1.0.0-beta09:jetifier-core", - ], iml_files = ["compilerCommon/db-compilerCommon.iml"], test_srcs = [ "compilerCommon/src/test/java", @@ -203,13 +197,6 @@ iml_module( "compiler/src/main/java", "compiler/src/main/kotlin", ], - bundled_deps = [ - "//prebuilts/tools/common/m2/repository/org/antlr/antlr4-runtime/4.5.3:antlr4-runtime", - "//prebuilts/tools/common/m2/repository/com/googlecode/juniversalchardet/juniversalchardet/1.0.3:juniversalchardet", - "//prebuilts/tools/common/m2/repository/commons-lang/commons-lang/2.6:commons-lang", - "//prebuilts/tools/common/m2/repository/com/squareup/javapoet/1.10.0:javapoet", - "//prebuilts/tools/common/m2/repository/com/google/auto/auto-common/0.10:auto-common", - ], iml_files = ["compiler/db-compiler.iml"], resources = ["compiler/src/main/resources"], test_data = [ |