#Intellij using Wrong Gradle Version, I have 9.2.0-1 but it is trying to get me to use 9.0.0

1 messages · Page 1 of 1 (latest)

zinc raptor
#

So i watched a youtube video recently where someone made a mod for the first version of minecraft https://www.youtube.com/watch?v=MHUKCskoooI and I decided I wanted to do something similar so I decompiled the jar and opened the folder in intellij. I figured I would just try building it with the newest java to see if it would work (and because when I tried to run the vanilla version with some older java versions it had terrible performance for some reason) but when I opened the folder intellij complained that I had an "invalid JVM configuration" and that it was trying to use Gradle 9.0.0 which doesn't work with java 25. But I have gralde 9.2.0-1 installed (i'm using the msys2 gradle package and that's the latest version) and I told intellij to use the "local installation" but it's still insisting on trying to use gradle 9.0.0. How do I force intellij to always iuse the highest gradle version I have installed

I made a mod for the first version of Minecraft, and this video shows how I did it.

The Ancient Planks mod is still under review on Modrinth, so for now you can download it here - https://drive.proton.me/urls/ANM4XQYXKW#RgQTJCOB9bLP
Prism Launcher - https://prismlauncher.org/

▶ Play video
versed sealBOT
#

<@&987246652869971988> please have a look, thanks.

zinc raptor
#

Oh I should also mention I'm launching intellij from the msys2 mingw64 shell and gradle is in the PATH and intellij is able to find it since that's what the "local installation" setting points to. So in theory if it's trying to auto generate a gradle project from the folder it should be using 9.2 but it's not...

wary pivot
#

you set the gradle used for the project with the gradle/wrapper.properties file

#

it does not matter what version you have on your path

#

it will always use the wrapper