Closed 5HT2 closed 4 years ago
Well, you removed kotlin from the compile process altogether: https://github.com/kami-blue/client/commit/8f8d02f063ac7fa9c15bb94fceae5cfc368c989c
You still need to compile Kotlin, Forgelin will only give you the runtime dependencies for Kotlin. That means: Re-add the buildscript changes and the apply plugin: 'kotlin'
@bziemons I removed Intellij's Kotlin plugin and replaced it with Forgelin in the next commit.
I wasn't aware I had to keep those, that should probably be mentioned in the readme.
I'll update this issue with the result in a minute.
Well it compiles now, but I get the same error I had before I added Forgelin (in a normal env)
You can see the branch here. Note, it works fine in a dev env. My kotlin library isn't being included in the full shadowjar. You can view the full build.gradle
here
I got it to work by adding the Forgemod jar to my mods folder. I'd rather not make users download 2 jars, I'm trying to work out how to include it now.
I have this mod here kami-blue, and when I try building with Forgelin my Kotlin classes aren't found with this error
Edit: check my kotlin branch to see the changes