Giorgio Antonioli
02/27/2020, 3:40 PMFoo
and TestFoo
Foo
is applied in a Gradle module with:
kapt project(:foo)
FooTest
is applied in the same Gradle module with:
kaptTest project(:foo-test)
Foo
generates some files when it founds the annotation @Bar
in the main source set
FooTest
should generate some files in the test source set when it founds the annotation @Bar
in the main source set
There's a way to do this using the Filer
API since both processors are incremental?
If I generate some files with FooTest
, it doesn't find the annotated elements in the main source set (obviously I'd say)