-
Notifications
You must be signed in to change notification settings - Fork 3
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
FAILURE: Build failed with an exception #87
Comments
This repository is restricted to Exercism's core team. Please open issues in github.com/exercism/exercism. |
Hi @DanGovo, so far it seems as if you had done everything correct. The test seems to complain about you not having properly implemented the function you are supposed to install. Perhaps you can show us the file with your Also please use proper markdown to format your posts, especially code is a lot more readable if you enclose it in triple back ticks: ```java
// I'm a comment
``` @iHiD why is the bot closing this when I transfer the issue? Or do I need to transfer via |
It's a bug with the GitHub Action. Sorry. @kntsoriano is aware of it. |
Thank you @NobbZ I will try and use the proper markdown next time. However, my issue is on the error message below. And how to upgrade my current version 6.1 to version 7.0
|
Thats just a warning, you can continue along for now. Once you update your gradle to version 7 you won't be able to continue working on exercism until the gradle-files have been updated. |
I have followed the installation steps to install java jdk and gradle and everything went on fine until I ran the gradle test command in terminal. In addition to the expected:
Task :test FAILED
GreeterTest > testThatGreeterReturnsTheCorrectGreeting FAILED
java.lang.AssertionError at GreeterTest.java:9
1 test completed, 1 failed
FAILURE: Build failed with an exception.
I am getting the following error which has stopped me from proceeding to the next steps.
FAILURE: Build failed with an exception.
Execution failed for task ':test'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
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.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 22s
3 actionable tasks: 1 executed, 2 up-to-date
I have Gradle 6.1 and have tried to upgrade to Gradle 7.0 using the gradle wrapper --gradle-version 7.0 command without success.
The text was updated successfully, but these errors were encountered: