Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants