gradle error - builtLatestSpigot

Started by IFaia on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 19:53, 19. Aug 2022
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
gradle error - builtLatestSpigot

I'm doing this for a spigot server, and I have the plugin for the workspace, but whenever I try to make a new one, it just says:

Executing Gradle task: buildLatestSpigot
Build info: MCreator 2022.2.34517, spigot-1.18.2, 64-bit, 16384 MB, Mac OS X, JVM 17.0.3, JAVA_HOME: /Applications/MCreator.app/Contents/MacOS/jdk/Contents/Home, started on: 2022-08-19-15:18:02
 
> Task :buildLatestSpigot FAILED
Download https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/art…
Loading BuildTools version: git-BuildTools-668e05a-148 (#148)
Java Version: Java 17
Current Path: /Users/master12345678910/MCreatorWorkspaces/a_surprise/build/btmp/.
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Could not successfully run git. Please ensure it is installed and functioning. Error running command, return status !=0: [git, --version]
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/master12345678910/MCreatorWorkspaces/a_surprise/build.gradle' line: 38
* What went wrong:
Execution failed for task ':buildLatestSpigot'.
> Process 'command '/Applications/MCreator.app/Contents/MacOS/jdk/Contents/Home/bin/java'' finished with non-zero exit value 1
* 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
BUILD FAILED in 3s
1 actionable task: 1 executed
 
BUILD FAILED
Task completed in 4 seconds