coinapult / public

Coinapult API clients, plugins, etc.
Other
18 stars 16 forks source link

Distribution jars are compiled with Java 1.8. Who the hell is using Java 8 in production environment? #3

Open b00lean opened 9 years ago

b00lean commented 9 years ago

Please recompile jars with Java 6 or Java 7. Compiling to Java 6 offers Android compatibility.

thanksmister commented 9 years ago

If you are using Android Studio for your Android development you can use Java 8 by adding the following to your gradle build file:

compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }

This would be the same if you wanted to use Lambda for example in Android. You also need to install Java 8 on your machine and point Android studio to the Java 8 SDK. That should allow you to use the library without having to recompile the java library for 6 or 7 compatibility.