What went wrong:
A problem occurred evaluating root project 'teahouse'.
Cannot invoke method head() on null object
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org.
BUILD FAILED in 14s
Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no] yes
Getting below Error While Build
PS C:\Users\Lenovo\Documents\teahouse-main> ./gradlew bootRun --scan
FAILURE: Build failed with an exception.
Where: Build file 'C:\Users\Lenovo\Documents\teahouse-main\build.gradle' line: 49
What went wrong: A problem occurred evaluating root project 'teahouse'.
Try:
BUILD FAILED in 14s
Publishing a build scan to scans.gradle.com requires accepting the Gradle Terms of Service defined at https://gradle.com/terms-of-service. Do you accept these terms? [yes, no] yes
Gradle Terms of Service accepted.
Publishing build scan... https://gradle.com/s/laevgvpgh3n6y
Below is the Java version capture used by Gradle:
I tried redownloading dependencies but not working