Example Forge 1.8.9 mod with Essential and Mixins made in Kotlin
- Import into your IDE (You can use Intellij Idea)
- In File -> Project Structure select JDK 8
- In File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle and set Gradle JVM to JDK 17+
- Rename and refactor everything to your mod name
- Reload Gradle and done!
Intellij Idea
- Click on Gradle tab on the right
- Select Tasks -> build -> build and run it
- Jar will appear in build/libs/<MOD_NAME>-1.0.jar
CLI
- Go to folder path
- Run ./gradlew build
- Jar will appear in build/libs/<MOD_NAME>-1.0.jar