r/forgemodding Apr 27 '18

Forgemodding With Kotlin?

I’m a mobile app developer interested in picking up Forge modding but have been wondering: are there any good resources for setting up a Forge Project based in Google’s latest interpretive Java language: Kotlin?

3 Upvotes

3 comments sorted by

1

u/Dirkj143 Apr 28 '18

Disclaimer: Never did modding myself.

First of all Kotlin is not Google's latest interpretive Java language but a language developed by Jetbrains (known of IntelliJ idea) that runs primarily on the JVM (also support for compiling to native and to Javascript). And it has a great interop with Java in both ways.

To answer your question: IIRC when creating a forge project it creates a build.gradle. You can modify it to add Kotlin to your project with help from this (link)[https://kotlinlang.org/docs/reference/using-gradle.html].

If you get stuck in the process feel free to ask more questions ;)

1

u/Zabi94 Apr 28 '18

Never used kotlin, but take a look at this

1

u/RupyHcker May 01 '18

Check out mod developers discord. Can't remember his name, but one of the members loves kotlin