hello, it's my first time doing fabric modding
i have created a project using the minecraft developer plugin for intellij, it has created a main and a client source: i am making a client-side mod so everything is inside client
everything works great in intellij
when i try to compile a jar with .\gradlew build, it makes one, but when put in mods folder and run it crashes
this seems that my "main" class is the issue
one issue I also am facing is compiling a "shadow jar?", basically I need MoulConfig inside my mod, they use Kotlin DSL but the Minecraft Developer Plugin has made a build.gradle with Groovy DSL, i think it should be fixed now but i have my doubts (https://pastebin.com/aWegAr0p)
can you guys help me? again it's my first time doing fabric, i am targeting 1.21.5
sorry for using pastebin but i cant type more than 2000 characters