Posted April 17, 20223 yr I run "runData" task and it gives me an error: "Invalid value: -1" and no logs/stacktrace The same happens when running "runClient" I'm using KotlinForForge and all my code is in Kotlin. Edited April 17, 20223 yr by NothinGG_ Kotlin details
April 18, 20223 yr 15 hours ago, diesieben07 said: This is a bug with IntelliJ currently: https://youtrack.jetbrains.com/issue/IDEA-292250. Workaround is to change the ForgeGradle dependency in your build.gradle as follows: classpath(group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true) { exclude group: 'org.apache.logging.log4j' } classpath 'org.apache.logging.log4j:log4j-api:2.11.2' classpath 'org.apache.logging.log4j:log4j-core:2.11.2' I didn't understand what we have to do?
April 18, 20223 yr Copy the code from diesieben07 and paste it in the build.gradle into the dependency part
April 18, 20223 yr 35 minutes ago, diesieben07 said: I am sorry, but you literally just have to copy paste it...? What is your question? 35 minutes ago, Luis_ST said: Copy the code from diesieben07 and paste it in the build.gradle into the dependency part paste it where? sry I'm new in modding😅 so idk where I have to paste it!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.