Closed larten closed 9 years ago
Hello,
butterknife is a default library to development, so I must use it! Congratulations!
But I would like to use json parser by Instagram (https://github.com/Instagram/ig-json-parser/).
And this part of gradle block butterknife:
compileJava { doFirst { // Directory should exists before compilation started. generatedSourcesDir.mkdirs() } options.compilerArgs += [ '-processor', 'com.instagram.common.json.annotation.processor.JsonAnnotationProcessor', '-s', generatedSourcesDir ] }
What is the proper way to use both libraries together?
bg, Larten
Use the android-apt plugin. This is a problem with their library and their very poor recommendation to use that technique.
android-apt
Thank you!
Hello,
butterknife is a default library to development, so I must use it! Congratulations!
But I would like to use json parser by Instagram (https://github.com/Instagram/ig-json-parser/).
And this part of gradle block butterknife:
What is the proper way to use both libraries together?
bg, Larten