Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

What to do about Java 8 syntax #18

Open
afwang opened this issue Apr 20, 2015 · 1 comment
Open

What to do about Java 8 syntax #18

afwang opened this issue Apr 20, 2015 · 1 comment

Comments

@afwang
Copy link

afwang commented Apr 20, 2015

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?

@langerhans
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants