If there is a way to delay the
service
from compiling it sources just until all dependant modules have finalised their annotation processing task (kaptDebugCompile
)
You’re trying your old chicken or egg problem again. You want:
- subproject to depend on service binaries
- service binaries to depend on subproject
You can’t do that
and copied the file back to
service
build folder.
Don’t do that!