user1611830
user1611830

Reputation: 4857

how to deal with dependency in Java

I am very new to Android, I have to install some dependency, and the doc says

You will need to include the dagger-${dagger.version}.jar in your application's runtime. In order to activate code generation you will need to include dagger-compiler-${dagger.version}.jar in your build at compile time.

But, my project is not a Maven one. How can I do that ?

Upvotes: 0

Views: 79

Answers (1)

disrvptor
disrvptor

Reputation: 1612

You will need to download the pre-built jars directly and put them in your libs directory. From the Dagger page

You can also find downloadable .jars on Maven Central. You'll need Dagger, JavaWriter, and javax.inject

Here are the relevant links

Just click on the jar links to download the jars you need.

Upvotes: 1

Related Questions