diff options
author | Aurimas Liutikas <aurimas@google.com> | 2023-02-13 10:56:26 -0800 |
---|---|---|
committer | Aurimas Liutikas <aurimas@google.com> | 2023-02-13 10:56:26 -0800 |
commit | 1c5bc8cac5804322b3ec9763e1a3a3384eb7fe13 (patch) | |
tree | 8225fb823bdc16a4bf14b78011bac1ab8ad75a03 /build.gradle | |
parent | 330dd165cfe86c29bcc54bfe3f0a1834ed37eb44 (diff) | |
download | icing-1c5bc8cac5804322b3ec9763e1a3a3384eb7fe13.tar.gz |
Disable building icing test apk
This project has no tests, there is no value in building test
apks for it.
Test: None
Change-Id: If1a1e06595da391f531c556892604c3274e1be18
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index a2696de..62e6e73 100644 --- a/build.gradle +++ b/build.gradle @@ -51,6 +51,13 @@ android { namespace "com.google.android.icing" } +// This project has no device tests, skip building it +androidComponents { + beforeVariants(selector().withName("debug"), { variantBuilder -> + variantBuilder.enableAndroidTest = false + }) +} + dependencies { api('androidx.annotation:annotation:1.1.0') |