bluelinelabs / LoganSquare

Screaming fast JSON parsing and serialization library for Android.
Apache License 2.0
3.21k stars 306 forks source link

Update README to use gradle annotation processor instead of android-apt #197

Open tc opened 7 years ago

tc commented 7 years ago

The readme states to use apply plugin: 'com.neenbedankt.android-apt'

"The Android plugin annotation processor works with both javac and jack, unlike android-apt which only works with javac. For more info you can refer to the docs (scroll down a bit on that page)." see http://www.littlerobots.nl/blog/Whats-next-for-android-apt/

https://bitbucket.org/hvisser/android-apt/wiki/Migration

AndyLeeBlue commented 7 years ago

To add the library to your app's build.gradle file:

annotationProcessor 'com.bluelinelabs:logansquare-compiler:1.3.6' compile 'com.bluelinelabs:logansquare:1.3.6'

moorthysubu commented 6 years ago

In gradle version 3.1.4 if annotationProcessor 'com.bluelinelabs:logansquare-compiler:1.3.6' added then data binding is not working, classes are not generated so is there any way to use this line in this gradle version with sdk level 27? Can anyone help me on this