Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.1 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.1 KB

Scalar

Standalone Scala provider mod, support Scala 3 and Scala 2.11

Use with experimental branch Cleanroom (3025+)

Downloads:

  • Scala 2.11.x, used by non-Cleanroom-based Scala mod
  • Scala 3.x, used by Cleanroom-based new mod or forks
  • You can't install them together!
  • There are 0 Scala 3 mods! (for now)

Development (temporary):

  1. Add
maven {
    name "outlandsReleases"
    url "https://maven.outlands.top/releases"
}

to your repositories

  1. Add implementation "com.cleanroommc:scalar:3.5.1:api" to your dependencies
  2. Add
    implementation 'org.scala-lang:scala3-compiler_3:3.5.1'
    implementation 'org.scala-lang:scala3-library_3:3.5.1'
    implementation 'com.typesafe:config:1.4.3'
    implementation 'org.typelevel:cats-core_3:2.10.0'
    implementation 'org.typelevel:cats-kernel_3:2.10.0'
    implementation 'org.typelevel:cats-free_3:2.10.0'

to your dependencies (Yes you need to declare them yourself)

  1. modLanguage = "scala" in @Mod()