BUGS-NYU/schedge

gradle buiild fails on java version 14.0.2

Closed this issue · 6 comments

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

gradle/gradle#12599.

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

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

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

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

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

Yes, everything is working for now, Thankyou.