build.gradle file regeneration (SOLVED)

Started by Natn8r on

Topic category: Help with modding (Java Edition)

Last seen on 19:55, 16. Jan 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
build.gradle file regeneration (SOLVED)
Thu, 12/09/2021 - 18:50 (edited)

Hello, so I keep having this issue with my gradle file while I was messing with it. I made a mistake and it won't regenerate. Is there anything I can do?

Here's the error:

 

Executing Gradle task: build
Build info: MCreator 2021.2.36710, forge-1.16.5, 64-bit, 8081 MB, Windows 10, JVM 11.0.11, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\nharr\MCreatorWorkspaces\Guns Galore Project\Guns Galore (main)\build.gradle' line: 1
* What went wrong:
Could not compile build file 'C:\Users\nharr\MCreatorWorkspaces\Guns Galore Project\Guns Galore (main)\build.gradle'.
> startup failed:
build file 'C:\Users\nharr\MCreatorWorkspaces\Guns Galore Project\Guns Galore (main)\build.gradle': 1: Unexpected input: '{' @ line 1, column 13.
buildscript {
^

1 error
* 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 59ms
BUILD FAILED
Task completed in 37 seconds

 

nvm i just stole the gradle file from another one of my projects lol

Edited by Natn8r on Thu, 12/09/2021 - 18:50