Kotlin support for Forge. Based on Shadowfacts' Forgelin, ported to 1.7.10, with additional features.
This is a library mod designed to be used by other mods. It doesn't add any game features by itself, and is purely an API.
ILanguageAdapter for using Kotlin object classes as your main mod class.build.gradle.kts:
plugins {
//...
kotlin("jvm") version "2.2.21"
}
minecraft_fp {
//...
kotlin {
forgelinVersion = "2.4.0-2.2.21"
}
}
gradle.properties:
kotlin.stdlib.default.dependency=false
The kotlin version that forgelin downloads is always in the suffix after the - in the version number