Jump to content

Recommended Posts

Posted

I'm trying to build a fresh mod from the forge MDK, but I'm running into a problem. Whenever I run setupDecompWorkspace, it says:

 

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\Andrew\Coding\Minecraft\Forge\UsefulPotionArrows\build.gradle' line: 24

* What went wrong:
A problem occurred evaluating root project 'UsefulPotionArrows'.
> No such version exists!

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

BUILD FAILED

I haven't tampered with the build.gradle file in any way, or anything else in the folder. Its all fresh from the zipped mdk download from the forge website.

Posted

Can you run it again with --stacktrace and --debug and post the results? What forge version are you working on? What java version(s) do you have installed?

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted (edited)

I know you said that you didn't modify your build.gradle file, but can you post it and your gradle.properties file?

Did you open the project with your IDE or modify it in any other way before running the command?

Edited by Cadiboo

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

Is there a .gradle file at \Users\YourName\.gradle?

On 7/16/2018 at 3:50 PM, DaemonUmbra said:

If you haven't done anything try deleting the .gradle folders from your workspace and C:\Users\<Your Username>\

I'll be honest I'm taking a stab in the dark here, hoping that forcing a re-download of everything might help.

 

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

ok, so now I'm getting a different error. I deleted the .gradle at both c\users\name and in the project directory, both gave the same error.

 

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\Andrew\Coding\Minecraft\Forge\UsefulPotionArrows\build.gradle' line: 10

* What went wrong:
A problem occurred evaluating root project 'UsefulPotionArrows'.
> Failed to apply plugin [id 'net.minecraftforge.gradle.forge']
   > Unable to obtain url ([https://files.minecraftforge.net/maven/net/minecraftforge/forge/json]) with etag!

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

BUILD FAILED

 

 

full log:

 

https://pastebin.com/3dAUbNvf

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.