MinecraftForge / ForgeGradle

Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
509 stars 437 forks source link

No gradle actions available in eclipse after setting up the project. #841

Closed ThatsNasu closed 2 years ago

ThatsNasu commented 2 years ago

I followed the "Gettings Started"-Guide from https://mcforge.readthedocs.io/en/latest/gettingstarted/, downloaded the MDK from the link to the files side provided, copied the gradle.build, gradlew, gradlew.bat, and the gradle folder over into my Project folder, started Eclipse and imported it as a gradle project. After letting Eclipse process everything, on my Project appears a red "x", since Eclipse does not give me a lot of information what went wrong, i tried to run gradlew from commandline myself, which resulted in a very nasty error log.

Error Message: FAILURE: Build failed with an exception. What went wrong: Could not resolve all files for configuration ':runtimeClasspathCopy'. Could not find net.minecraftforge:forge:1.18.2-40.0.13_mapped_official_1.18.2.

My guess is that gradle cannot find the maven central / forge maven repositories (i tried looking it up on maven central and could not find it)

OS: Windows 10 x64 JDK Version: 17.0.2 (2022-01-18 LTS) Eclipse Version: 2021006 (4.20.0) / Build ID: 20210612-201 gradlelog.txt 1

sciwhiz12 commented 2 years ago

:wave: We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for the Forge Support Forums. Please create a new topic on the support forum with this issue, and the conversation can continue there.