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

Support java 6 #2

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

brunchboy
Copy link

Even though Clojure itself generates classes that are compatible back to Java 6, lein-protobuf is compiling to whatever JVM version happens to be installed on the developer's machine. This is a problem because I want to be able to use protobuf in my open-source lighting controller Afterglow, and be able to host that within Cycling ‘74’s Max, which only supports the legacy Apple Java 6 implementation on the Mac.

This change tells Leiningen to run javac with arguments that create Java 6 compatible class files even if it is being run with a newer JDK.

This pull request depends on my related pull request to lein-protobuf being accepted before it can be applied.

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

Successfully merging this pull request may close these issues.

1 participant