theishiopian Posted November 23, 2018 Posted November 23, 2018 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. Quote
Cadiboo Posted November 23, 2018 Posted November 23, 2018 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? Quote About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.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)
theishiopian Posted November 23, 2018 Author Posted November 23, 2018 I'm running on java 8, forge-1.12.2-14.23.5.2768. I'll have the stacktrace and such shortly. Quote
theishiopian Posted November 23, 2018 Author Posted November 23, 2018 Ok, here ya go: https://pastebin.com/xkfXuy9e Quote
Cadiboo Posted November 24, 2018 Posted November 24, 2018 (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 November 24, 2018 by Cadiboo Quote About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.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)
theishiopian Posted November 24, 2018 Author Posted November 24, 2018 Sure. My wifi is currently down, but it should be back in about 45 minutes. Ill post them then. Quote
theishiopian Posted November 24, 2018 Author Posted November 24, 2018 Heres the build.gradle: https://pastebin.com/CVr2ukBB And the gradle.properties: https://pastebin.com/TvJVenzS THe project hasnt been opened in any ide yet, or modified in any way. Quote
Cadiboo Posted November 24, 2018 Posted November 24, 2018 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. Quote About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.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)
theishiopian Posted November 24, 2018 Author Posted November 24, 2018 Im not sure. There should be. Ill check when I get home. Quote
theishiopian Posted November 24, 2018 Author Posted November 24, 2018 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 Quote
theishiopian Posted November 24, 2018 Author Posted November 24, 2018 Full log with stacktrace and debug enabled: https://pastebin.com/HEPhApv6 Quote
theishiopian Posted November 25, 2018 Author Posted November 25, 2018 Ok, got it working, more details here for those with the same issue: Quote
Recommended Posts
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.