I hope to build a complete library, so that when there is a new project, I can directly rely on the library for development and use it as a framework. But I'm not sure if I can put a library like dagger2 into the library. I tried it myself, but a compilation error message appeared.
Error:Execution failed for task ':baseprojectlib:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
The method of building the project is relatively simple and crude, which is to directly add dependencies in build.gradle in the library. I think there must be a problem with this, but I don't know what to do.
Or if someone has a method for making a framework library, you can tell me directly. I would be grateful.
Put it in a Module