Posted November 23, 20186 yr 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.
November 23, 20186 yr 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 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)
November 23, 20186 yr Author I'm running on java 8, forge-1.12.2-14.23.5.2768. I'll have the stacktrace and such shortly.
November 24, 20186 yr 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, 20186 yr by Cadiboo 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)
November 24, 20186 yr Author Sure. My wifi is currently down, but it should be back in about 45 minutes. Ill post them then.
November 24, 20186 yr Author 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.
November 24, 20186 yr 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 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)
November 24, 20186 yr Author 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
November 24, 20186 yr Author Full log with stacktrace and debug enabled: https://pastebin.com/HEPhApv6
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.