jodd icon indicating copy to clipboard operation
jodd copied to clipboard

Written and built with java8 can not be used on android

Open kwf2030 opened this issue 9 years ago • 8 comments

kwf2030 avatar Jul 13 '17 12:07 kwf2030

True. Also, there are some usages of JDK that do not exist in Android (ah, Google :).

However, I am not sure how can I support Android. I would love to, but it is too much work to maintain two parallel set of libraries.

Only if I find a VC who would love to invest 💰 in Jodd :)))

igr avatar Jul 13 '17 12:07 igr

I tried to replace all java8 features and compiles with java7 for core and mail, used it on android, no problems so far.

kwf2030 avatar Jul 15 '17 02:07 kwf2030

You might be right... the core, mail, json may be rather easy to backport...

igr avatar Jul 15 '17 03:07 igr

thanks very much for your perfect jodd

kwf2030 avatar Jul 16 '17 02:07 kwf2030

is plugin 'me.tatarka.retrolambda' gonna help?

restmad avatar Sep 15 '17 17:09 restmad

@restmad @kwf2030 if something like that retrofiting tool helps, I would be super happy :) Because we simply do not have resources to maintain android at the moment

igr avatar Sep 15 '17 18:09 igr

Starting with Android Studio 3 Java 8's features should be mostly supported, particularly Lambdas

https://developer.android.com/studio/write/java8-support.html

neroux avatar Oct 02 '17 20:10 neroux

Great news @neroux !

(it was about the time;)

igr avatar Oct 02 '17 20:10 igr