minecraft-dev / MinecraftDev

Plugin for IntelliJ IDEA that gives special support for Minecraft modding projects.
https://minecraftdev.org/
GNU Lesser General Public License v3.0
1.5k stars 187 forks source link

build.gradle and settings.gradle inconsistencies #2223

Closed ItzEkans closed 2 weeks ago

ItzEkans commented 8 months ago

Minecraft Development for IntelliJ plugin version

2023.3-1.7.1

IntelliJ version

2023.3.3

Operating System

Windows 10

Target platform

Minecraft Forge

Description of the bug

There seems to be a forge version inconsistency in the build.gradle and settings.gradle files that are automatically generated when a new project is made. This is the error I get: "Could not resolve dependency: net.minecraftforge:forge:1.19.2-49.0.27:userdev"

I experience this when creating a 1.19.2 project with forge version 43.3.7.

RedNesto commented 8 months ago

Oh yeah this is an issue with the saved selected versions, it will use the forge version for the latest mc version instead of the saved mc version one.

Make sure to reselect the forge version in that case.

ItzEkans commented 8 months ago

Ah, I didn't realize I had to reselect it. Thanks!