Jump to content

[1.8/SOLVED] Gradle does always report an error in the buildfile


Recommended Posts

Posted

Heyho Guys!

 

I downloaded Forge 11.14.1.1334 and extracted it. Then I tried to run the gradlew setupDecompWorkspace command and got this error:

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\username\Desktop\Modding\Forge\build.gradle' line: 18

* What went wrong:
A problem occurred evaluating root project 'Forge'.
> java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line
1 column 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

Total time: 8.849 secs

 

The build.gradle file was not edited by me since I downloaded it. It looks like this:

 

  Reveal hidden contents

 

 

Is there something wrong with the buildscript or is there something else?

Maybe there are some files in my file system blocking some options?

 

PS: If I try 11.14.0.1299 I get the same error although, this version worked before!

 

EDIT: Obviously it was the file system. I deleted the .gradle folder and it worked.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.