Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Plugins for sbt? #121

Closed
DaveGit opened this issue Dec 3, 2012 · 5 comments
Closed

Plugins for sbt? #121

DaveGit opened this issue Dec 3, 2012 · 5 comments

Comments

@DaveGit
Copy link

DaveGit commented Dec 3, 2012

Hi,
I see that the plugins are for maven. Do you plan supporting sbt too?

@swankjesse
Copy link
Contributor

No plans at the moment. Is anyone using sbt to build Android apps?

@DaveGit
Copy link
Author

DaveGit commented Dec 3, 2012

Yes me.

@JakeWharton
Copy link
Collaborator

I've used it as well. Far from ideal but it mostly works.

That said, this plugin is not required for development on Android. It merely generates a module for your manifest entries which otherwise could be done manually. We also aren't sure in what form it will exist (if at all) by the time Dagger hits 1.0.

Android is moving to Gradle in the next year anyways so if we do keep this around we would probably move towards solely supporting that in the long run.

@DaveGit
Copy link
Author

DaveGit commented Dec 4, 2012

But is the dagger compiler with the annotation processors (i.e. dagger-compiler-0.9.jar) not necessary?
Is dagger-0.9.jar all that is needed?

@cgruber
Copy link
Collaborator

cgruber commented Dec 4, 2012

On 4 Dec 2012, at 18:32, DaveGit wrote:

But is the dagger compiler with the annotation processors (i.e.
dagger-compiler-0.9.jar) not necessary?
Is dagger-0.9.jar all that is needed?

dagger-compiler isn't a maven-plugin, it's an annotation processor. It
can be used with anything that will invoke javac with it on its class
path. That should be true of gradle, ivy, maven, ant, etc. Generating
modules is quite separate than generating the code for ModuleAdapter or
InjectAdapter classes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants