gradle buiild fails on java version 14.0.2
Closed this issue · 6 comments
robotrobo commented
On running the gradlew file, i get :
FAILURE: Build failed with an exception.
* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
Kn99HN commented
- I think either downgrade to Java 11 or upgrade gradle to latest version
robotrobo commented
Alright, also, why aren't there build/installation instructions on the readme? Can i issue a PR for the same?
Kn99HN commented
All installations and build instructions are in the docs folder. I did note that Java 14 and latest gradle might not be compatible as I ran into similar issues. You can read through Contributing guide
robotrobo commented
Thankyou, updating gradle to 7.0 worked with the following warning, -
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 34s
6 actionable tasks: 6 executed
Kn99HN commented
Noice! Is everything working after built? You might want to downgrade both gradle and java in the future if things start breaking
robotrobo commented
Yes, everything is working for now, Thankyou.