KTale provides the Kotlin runtime required to make and run Kotlin plugins & mods for Hytale without needing to shade Kotlin into each project.
Usage
Simply add this to your manifest.json
"Dependencies": {
"Flux:KTale": ">=1.0.0"
}
If your using Gradle, you may need to modify your build.gradle
plugins {
id 'org.jetbrains.kotlin.jvm' version '2.2.20'
id 'com.gradleup.shadow' version '9.1.0'
}
shadowJar {
archiveClassifier.set("")
from(sourceSets.main.output)
exclude("kotlin/**")
include("com/google/**") // Include required dependencies
include("not/savage/hytale/**") // Include your root package.
include("**/*.json") // Include resources
mergeServiceFiles()
}
