dogecoinj-new icon indicating copy to clipboard operation
dogecoinj-new copied to clipboard

What to do about Java 8 syntax

Open afwang opened this issue 9 years ago • 1 comments

I see that some of the classes in the examples/ subproject are using Java 8 syntax. This could present some trouble when building with F-Droid (I've posted a thread asking about the availability of a Java 8 SDK on their forums: https://f-droid.org/forums/topic/java-8-jdk-included/ ).

In case they don't have a Java 8 JDK available, how should we handle the classes that are using Java 8? Can we exclude the examples/ directory from the build process using maven?

afwang avatar Apr 20 '15 00:04 afwang

Check out the -pl command line flag of Maven.
Excluding the examples module from the F-Droid build seems sensible to me as it's certainly not needed for the Wallet builds.

langerhans avatar Apr 20 '15 06:04 langerhans