Skip to content
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

Migrate from Apt to AnnotationProcessor #68

Closed
jatindhankhar opened this issue Dec 30, 2016 · 4 comments
Closed

Migrate from Apt to AnnotationProcessor #68

jatindhankhar opened this issue Dec 30, 2016 · 4 comments

Comments

@jatindhankhar
Copy link

As of the Android Gradle plugin version 2.2, all functionality that was previously provided by android-apt is now available in the Android plugin. This means that android-apt is officially obsolete ;)

Many libraries (like Butterknife) are already using annotationProcessor and if Schematic is used (which depends upon apt) with libraries which use annotationProcessor then this create issues for others that depends upon annotationProcessor.

A Migration would help

Thanks

@SimonVT
Copy link
Owner

SimonVT commented Dec 30, 2016

Does Schematic not work with annotationProcessor? I'm not aware of any changes I need to make to "support" annotationProcessor.

@jatindhankhar
Copy link
Author

jatindhankhar commented Dec 31, 2016

No, I tried and it works great with annotationProcessor
I mean changing the instructions on the project REAMDE section
where recommended way is still to apply apply plugin: 'com.neenbedankt.android-apt' and then use apt apt 'net.simonvt.schematic:schematic-compiler:{latest-version}' which can just be replaced by new
annotationProcessor 'net.simonvt.schematic:schematic-compiler:{latest-version}'

@SimonVT
Copy link
Owner

SimonVT commented Jan 3, 2017

Readme updated :)

@SimonVT SimonVT closed this as completed Jan 3, 2017
@jatindhankhar
Copy link
Author

Thank you.
Have a great 2017 😄

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

No branches or pull requests

2 participants