Build keeps failing

Started by TiesToetToet on

Topic category: Troubleshooting, bugs, and solutions

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Build keeps failing
Mon, 05/17/2021 - 10:10 (edited)

So me and my nephew are working on a mod in a remote workspace, but when we build the mod, it keeps failing. This is wat we get:

Executing Gradle task: buildBuild info: MCreator 2021.1.18117, forge-1.15.2, 6 - Pastebin.com

 

Can somebody help please.

Edited by TiesToetToet on Mon, 05/17/2021 - 10:10
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
im getting the same problem…
Tue, 08/24/2021 - 06:46

im getting the same problem i think with mine this keeps happening 
 

Executing Gradle task: build
Build info: MCreator 2021.1.18117, forge-1.16.5, 64-bit, 4074 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\Users\PC\Desktop\MCreator20211\jdk
> Task :compileJava FAILED
C:\Users\PC\MCreatorWorkspaces\kj\src\main\java\net\mcreator\kj\item\HgArmorItem.java:51: error: illegal start of expression new ItemStack(, (int)(1))
^
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* 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 4s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 8 seconds