How to properly export your plugin? [Gradle+Eclipse]

I’m looking to export my plugin that hasn’t a mcmod.info file as this should be autogenerated. To do so, I go to File > Export... > Java > JAR file and select my project. I know I’m doing something wrong as no mcmod.info has been generated. Could someone explain the correct steps (and maybe even add this to the docs)?

Thank you!

Eclipse version: Neon.1a Release (4.6.1)
Buildship, Eclipse Plug-ins for Gradle version: 1.0.21

You should be using gradle for everything, that’s why it’s called a build tool, to build your jar do gradle build from a command window or run the build task from inside your IDE

1 Like

Wow, solved in 2 minutes!

it gets solved in ten seconds if you use intellij

3 Likes