Error Code: GRADLE_BUILD_FAILED [-23]

Started by Crazy_Fighter on

Topic category: Help with MCreator software

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error Code: GRADLE_BUILD_FAILED [-23]
Thu, 09/14/2017 - 15:42 (edited)

FAILURE: Build failed with an exception.
BUILD FAIBuild file 'CTotal time: 4.673 secs
:\MCreator\forge\build.gradle' line: 10
LED
* Where:
* What went wrong:
A problem occurred evaluating root project 'forge'.
> Failed to apply plugin [id 'net.minecraftforge.gradle.forge']
> java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 

 

Above the error I got in the console. I got in the file 'buid.gradle' the line 10 :

apply plugin: 'net.minecraftforge.gradle.forge'

I do not know what to deal with, the error occurs when the workspace is filled or empty, which seems logical because the problem seems to come from the loading of various complementary files to the proper execution of MCreator. that there were updates on the site, is there a report? I have already done the execution in Admin and I have already downloaded and reinstalled without success, the error remains the same in passing. Thanks in advance to the people who could help me ^^ '

Edited by Crazy_Fighter on Thu, 09/14/2017 - 15:42
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hmm Try deleting the .gradle
Thu, 09/14/2017 - 22:18

Hmm Try deleting the .gradle folder and mcreator will auto re-download it

If that does not work try and deleting the forge folder

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Hmm Try deleting the .gradle
Fri, 09/15/2017 - 06:25

@#1

Executing gradle command: clean build 
Microsoft Windows [version 10.0.15063] 'gradlew' n'est pas reconnu en tant que commande inter C:\MCreator>cd forge 
ne 
(c) 2017 Microsoft Corporation. Tous droits r‚serv‚s. ou externe, un programme ex‚cutable ou un fichier de commandes. 
C:\MCreator\forge>SET "JAVA_HOME=C:\MCreator\jdk64\"
C:\MCreator\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\MCreator\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\MCreator\forge>gradlew -Dorg.gradle.jvmargs="-Xms2378m -Xmx7569m" clean build 
C:\MCreator\forge> 
Task completed with return code 0 in 37 milliseconds

I deleted the '.gradle' folder without any change, then I deleted the 'forge' folder and I got the compilation below. It change the compilation result, no more erreur, however no more steps in the compilation.. What do you think about that? 

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:Hmm Try deleting the .gradle
Fri, 09/15/2017 - 06:31

By the way, the 'forge' folder that contained a lot of folders and files simply contains the 'src' folder now ...

 

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hmm i am sorry but i dont
Fri, 09/15/2017 - 13:06

Hmm i am sorry but i dont know what to say

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think it could be a
Fri, 09/15/2017 - 16:19

I think it could be a probleme of compatibility with the JDK...

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Executing gradle command:…
Fri, 01/04/2019 - 21:16

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.1, 64-bit, 3066 MB, Windows 10 - cmd, JVM 1.8.0_172, JAVA_HOME: C:\Pylo\MCreator181\.\jdk
(c) 2018 Microsoft Corporation. Wszelkie prawa zastrzeľone.
C:\Pylo\MCreator181\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies
Etag download for https://files.minecraftforge.net/maven/de/oceanlabs/mcp/versions.json failed with code 400
Etag download for http://export.mcpbot.bspk.rs/versions.json failed with code 400
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Pylo\MCreator181\forge\build.gradle' line: 10
* What went wrong:
A problem occurred evaluating root project 'forge'.
> Failed to apply plugin [id 'net.minecraftforge.gradle.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: 27.906 secs
C:\Pylo\MCreator181\forge>
Task completed with return code 0 in 30078 milliseconds

 

Halp

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm still waiting...
Sat, 03/16/2019 - 10:19

I'm still waiting...

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this happend to me to help!  
Wed, 11/02/2022 - 18:00

this happend to me to help!