graphql-java / java-dataloader

A Java 8 port of Facebook DataLoader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to build.gradle

sonpnguyen opened this issue · comments

After downloaded the code, I have issue with build.gradle, $ ./gradlew --stacktrace --debug --scan clean build, instruction.

2023-01-10T15:00:20.446-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-01-10T15:00:20.446-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
2023-01-10T15:00:20.447-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-01-10T15:00:20.447-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Where:
2023-01-10T15:00:20.447-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Build file 'D:\Workspace\TutorialSources\GraphQL\ServerSide\java-dataloader-master\build.gradle' line: 21
2023-01-10T15:00:20.448-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-01-10T15:00:20.448-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
2023-01-10T15:00:20.448-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A problem occurred evaluating root project 'java-dataloader-master'.
2023-01-10T15:00:20.448-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > git hash could not be determined
2023-01-10T15:00:20.449-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-01-10T15:00:20.449-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
2023-01-10T15:00:20.449-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run with --scan to get full insights.
2023-01-10T15:00:20.450-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]

2023-01-10T15:00:20.494-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: java.lang.IllegalStateException: git hash could not be determined
2023-01-10T15:00:20.494-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at build_9vpkw3x1s3rljvlyknpy5jv4f.getDevelopmentVersion(D:\Workspace\TutorialSources\GraphQL\ServerSide\java-dataloader-master*build.gradle:21*)
2023-01-10T15:00:20.494-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at build_9vpkw3x1s3rljvlyknpy5jv4f.run(D:\Workspace\TutorialSources\GraphQL\ServerSide\java-dataloader-master\build.gradle:39)
2023-01-10T15:00:20.495-0500 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)

Closing as redundant