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
Fix issues regarding JAVA_HOME setup #7
Conversation
… inside gradle_properties. And also bump versions.
This will break Windows, Linux, Travis and CircleCi builds. |
@Naitbit, I think if gradle.properties is ignored by git and make it mandatory work for setup, it won't break. |
It will also break Mac builds if someone have different java7 or java 8 version. |
local.properties is ignored by git. |
Should I made changes and send PR again to test CI build? |
You can make changes, so java7/java8 path can be set from properties file (as alternative to env variable), but I suggest to not hardcode specific version in commited file(unless it is in comment only form). You can also update readme with this information. Dnia 4 marca 2016 11:51:45 CET, Swan Htet Aung notifications@github.com napisał(a):
Sebastian Kacprzak |
@Naitbit Is this O.K now? |
Sorry I did not have time to look at it yet. I'll try to check it soon. |
@swanhtet1992 Please check feature/retrolambda_config branch (that contains your changes) and check if it works for you |
@Naitbit it works! 🤓And that refactoring part is awesome!!! 👏 |
Good to hear. Thanks for implementing initial version. I'll merge it. |
This is well known issue (#4). Setting up JAVA7_HOME and JAVA8_HOME to work with Android Studio is really troublesome on OSX. I tried all the possible solutions and this is by far the best solution that worked on every machines and OS. I got the solution from this blog.
You just need to add the JAVA_HOME in gradle.properties file.
I hope this help.
Cheers,
SH