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

gradle buiild fails on java version 14.0.2 #85

Closed
robotrobo opened this issue Aug 18, 2020 · 6 comments
Closed

gradle buiild fails on java version 14.0.2 #85

robotrobo opened this issue Aug 18, 2020 · 6 comments

Comments

@robotrobo
Copy link

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
Copy link
Member

Kn99HN commented Aug 18, 2020

gradle/gradle#12599.

  • I think either downgrade to Java 11 or upgrade gradle to latest version

@robotrobo
Copy link
Author

Alright, also, why aren't there build/installation instructions on the readme? Can i issue a PR for the same?

@Kn99HN
Copy link
Member

Kn99HN commented Aug 18, 2020

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
Copy link
Author

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
Copy link
Member

Kn99HN commented Aug 18, 2020

Noice! Is everything working after built? You might want to downgrade both gradle and java in the future if things start breaking

@robotrobo
Copy link
Author

Yes, everything is working for now, Thankyou.

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