aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Warrington <cmw@google.com>2021-11-15 18:45:19 +0000
committerChris Warrington <cmw@google.com>2021-11-17 12:54:00 +0000
commitc7773fa8720d47bfbf52fb3e41e7ea675b38780c (patch)
tree3c094c0964ceb1e2c4533667b940a76371f1d607
parentb7e3895955673cd09d0eaeea903222418a1300ce (diff)
downloadplatform_tools_base-c7773fa8720d47bfbf52fb3e41e7ea675b38780c.tar.gz
platform_tools_base-c7773fa8720d47bfbf52fb3e41e7ea675b38780c.tar.bz2
platform_tools_base-c7773fa8720d47bfbf52fb3e41e7ea675b38780c.zip
[Hybrid build] First integration test example
Switch :base:build-system:integration-test:api (the smallest integration test project) to use the AGP as published. Once this has landed well, others can be similarly migrated, towards the goal of removing the duplicate build rules for AGP. Bug: 143864616 Test: GmavenZipTest Change-Id: I860745d137ed91833a450c170430955f2b6d3036
-rw-r--r--BUILD.bazel2
-rw-r--r--build-system/integration-test/api/BUILD.bazel7
2 files changed, 8 insertions, 1 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
index 5469887094..3263db8342 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -72,6 +72,7 @@ maven_repository(
visibility = [
"//tools/base/bazel/test/gradle:__pkg__",
"//tools/base/build-system:__pkg__",
+ "//tools/base/build-system/integration-test:__subpackages__",
],
)
@@ -108,6 +109,7 @@ maven_repository(
visibility = [
"//tools/base/bazel/test/gradle:__pkg__",
"//tools/base/build-system:__pkg__",
+ "//tools/base/build-system/integration-test:__subpackages__",
"//tools/base/gmaven:__pkg__",
],
)
diff --git a/build-system/integration-test/api/BUILD.bazel b/build-system/integration-test/api/BUILD.bazel
index 8647c7ca18..3801a1be02 100644
--- a/build-system/integration-test/api/BUILD.bazel
+++ b/build-system/integration-test/api/BUILD.bazel
@@ -16,8 +16,13 @@ gradle_integration_test(
"//tools/base/build-system/integration-test:test-projects/apiBinaryCompatibility",
],
#keep sorted
+ maven_repo_zips = [
+ "//tools/base/build-system:android_gradle_plugin",
+ ],
+ #keep sorted
maven_repos = [
- "//tools/base/build-system:gradle_plugin_no_databinding_repo",
+ "//tools/base:agp_artifacts",
+ "//tools/base:agp_dependencies",
"//tools/base/build-system/integration-test:androidx_latest",
"//tools/base/build-system/integration-test:gradle_kotlin_dsl_prebuilts",
"//tools/base/build-system/integration-test:kotlin_gradle_plugin_prebuilts",