Open aminelaadhari opened 8 years ago
You can certainly use it. But you need to patch a few things to make it work with the bleeding edge git branch of j2objc.
The project does seem to be on a bit of a pause, but it is still usable. You can use j2objc-gradle 0.6.0-alpha with the latest version of J2ObjC 1.0.2 provided you add this to your j2objcConfig section in build.gradle:
j2objcConfig {
j2objcVersion "1.0.2"
.
.
.
}
Also, you have to stay at Android Studio 1.5.1 due to Gradle version incompatibilities. j2objc-gradle will only work with Gradle 2.8 or lower, but the Gradle Android plugin used by Android Studio 2.0 requires Gradle 2.10. If you stay at Android Studio 1.5.1 (and thus the older Gradle Android plugin), you can use Gradle 2.8 with it and j2objc-gradle. There is a workaround posted to this issue that allows you to use j2objc-gradle with Gradle 2.10. I haven't had a chance tried it.
One other note: if your project uses Guava directly a little workaround is needed.
I think the answer is definitively "no" as of right now: https://groups.google.com/forum/#!topic/j2objc-discuss/jQ_eyW9nxmQ
Hi @brunobowden @advayDev1, does this project still active ? could we securely rely on it? Thanks for the awesome job you did so far !