New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide as single jar file for the dagger-compiler #1010
Comments
Dagger is never intended to be run in a standalone mode (like, say google-java-format is, which does have a fat jar), and having a single jar is asking for confusing integration issues with other libraries' versions. That's why build systems exist (to help you with that). I'm not sure how If you really would like to have a fat jar, you can build a |
The Readme.md says:
I am using dagger without maven or gradle. For the compiler, the dagger dependency seems to have exploded since version 2.0. When I use maven I see the following dependencies (using
mvn install dependency:copy-dependencies
and looking attarget/dependency
directory):For the runtime,
dagger-2.14.1.jar
andjavax.inject-1.jar
seem to be sufficient. For the compiler there are lots of dependencies. This is a pain to download and figure out manually.However, for dagger-2.0 the situation was much simpler:
I think there should be a one-stop solution to download the compiler and its dependencies as a single file.
The text was updated successfully, but these errors were encountered: