diff options
author | Yigit Boyar <yboyar@google.com> | 2020-04-29 19:05:36 -0700 |
---|---|---|
committer | Chris Povirk <beigetangerine@gmail.com> | 2020-04-30 11:55:36 -0400 |
commit | bf370cd3a6be13883dffc204e6ae4ba524a9cb2b (patch) | |
tree | fe0d19d81816ab0d1ed6cd4d4c881aca301fad81 /.gitignore | |
parent | 01ee5aa03cc0d72dd6f7a758594537eeed4aa23b (diff) | |
download | dagger2-bf370cd3a6be13883dffc204e6ae4ba524a9cb2b.tar.gz |
Add support for JUnit tests with Hilt Plugin
Android transforms are not applied for JUnit tests which breaks when using
the Hilt Plugin and its transform. This CL adds a new custom test transform
task just for tests so that transformed classes are used in Android JUnit tests.
The task does not transform test sources, therefore temporarily allow specifying
a base class in @AndroidEntryPoint that will be used even if the superclass
validation option is given to the processor. This helps us still have test-only
Android Entry Points.
Closes https://github.com/google/dagger/pull/1811
RELNOTES=n/a
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=309143731
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 59acf87cc..cea18ded9 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,5 @@ gen-external-apklibs /bazel-* *.pyc + +.gradle |