Fabric language module for Scala. Adds support for using a Scala object
as the main mod class and bundles the Scala libraries for you.
Add it as a dependency:
dependencies {
compile "net.fabricmc:fabric-language-scala:0.1.0.+"
}
Set the language adapter for your mod to use by setting the languageAdapter
property in the mod.json
file:
{
"languageAdapter": "net.fabricmc.language.scala.ScalaLanguageAdapter"
}
Add a dependency entry to your mod.json
file:
{
"requires": {
"fabric-language-scala": "*"
}
}