Issue
I want to port the Fabric mod SwordBlocking to Forge.
After spending a lot of time modifying the code and configurations, I was ready to build it.
However, when I tried to build it, I encountered an error:
MixinGradle is skipping eclipse integration, extension not found
Task :compileJava FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ‘:compileJava’.
Could not resolve all files for configuration ‘:compileClasspath’. Could not resolve net.minecraftforge:forge:{strictly 1.16.5-36.2.39_mapped_official_1.16.5}. Required by: project : > Cannot find a version of ‘net.minecraftforge:forge’ that satisfies the version constraints: Dependency path ‘eu.midnightdust:SwordBlocking-Forge:1.3.1-Forge’ –> ‘net.minecraftforge:forge:{strictly 1.16.5-36.2.39_mapped_official_1.16.5}’ Dependency path ‘eu.midnightdust:SwordBlocking-Forge:1.3.1-Forge’ –> ‘net.minecraftforge:forge:1.16.5-36.2.39’ Dependency path ‘eu.midnightdust:SwordBlocking-Forge:1.3.1-Forge’ –> ‘net.minecraftforge:forge:1.16.5-36.2.39_mapped_official_1.16.5’ Dependency path ‘eu.midnightdust:SwordBlocking-Forge:1.3.1-Forge’ –> ‘net.minecraftforge:forge:1.16.5-36.2.39_mapped_official_1.16.5’
Could not resolve net.minecraftforge:forge:1.16.5-36.2.39. Required by: project : > Cannot find a version of ‘net.minecraftforge:forge’ that satisfies the version constraints: Dependency path ‘eu.midnightdust:SwordBlocking-Forge:1.3.1-Forge’ –> ‘net.minecraftforge:forge:{strictly 1.16.5-36.2.39_mapped_official_1.16.5}’ Dependency path ‘eu.midnightdust:SwordBlocking-Forge:1.3.1-Forge’ –> ‘net.minecraftforge:forge:1.16.5-36.2.39’ Dependency path ‘eu.midnightdust:SwordBlocking-Forge:1.3.1-Forge’ –> ‘net.minecraftforge:forge:1.16.5-36.2.39_mapped_official_1.16.5’ Dependency path ‘eu.midnightdust:SwordBlocking-Forge:1.3.1-Forge’ –> ‘net.minecraftforge:forge:1.16.5-36.2.39_mapped_official_1.16.5’
Could not resolve net.minecraftforge:forge:1.16.5-36.2.39_mapped_official_1.16.5. Required by: project : > Cannot find a version of ‘net.minecraftforge:forge’ that satisfies the version constraints: Dependency path ‘eu.midnightdust:SwordBlocking-Forge:1.3.1-Forge’ –> ‘net.minecraftforge:forge:{strictly 1.16.5-36.2.39_mapped_official_1.16.5}’ Dependency path ‘eu.midnightdust:SwordBlocking-Forge:1.3.1-Forge’ –> ‘net.minecraftforge:forge:1.16.5-36.2.39’ Dependency path ‘eu.midnightdust:SwordBlocking-Forge:1.3.1-Forge’ –> ‘net.minecraftforge:forge:1.16.5-36.2.39_mapped_official_1.16.5’ Dependency path ‘eu.midnightdust:SwordBlocking-Forge:1.3.1-Forge’ –> ‘net.minecraftforge:forge:1.16.5-36.2.39_mapped_official_1.16.5’
- 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 4m 27s 5 actionable tasks: 5 executed
After the error occurred,
I tried searching on Google and ChatGPT,
but couldn’t solve it.
What should I do?
Can anyone help me with this issue?
Thanks for you help.
Project link: SwordBlocking-Forge
Author87668 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.