#[RESOLVED] Ran wrong gradle jar build task

10 messages · Page 1 of 1 (latest)

golden gust
#

It runs fine through IntelliJ, but it immediately crashes when ran on an actual client. I reduced it down to it's most barebones implementation, and it repeats the behavior. Am I compiling it to a .jar wrong or am I messing up somewhere else?

fiery aurora
#

how did you get the jar file?

golden gust
#

I ran the selected Gradle task and then copied it from the circled location

fiery aurora
#

that's wrong

#

!!export

mystic turtleBOT
#

Exporting your mod as a JAR: run in a terminal from the same directory as the mod project directory ./gradlew build on GNU/Linux and Mac, or gradlew build on Windows. Alternatively, in IntelliJ IDEA, open the Gradle tab on the right and execute build under tasks. The JARs should appear in ${projectDir}/build/libs. Use the one with the shortest name outside development.

golden gust
#

Ah thanks

#

TIL

fiery aurora
#

common issue

golden gust
#

[RESOLVED] Ran wrong gradle jar build task