File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33Standalone Scala provider mod, support Scala 3 and Scala 2.11
44
5- Use with alpha version Cleanroom
6-
75### Downloads:
86
9- - [ Scalar Legacy] ( https://legacy.curseforge.com/minecraft/mc-mods/scalar-legacy ) , ships Scala 2.11.1, used by non-Cleanroom-based Scala mod
10- - [ Scalar] ( https://legacy.curseforge.com/minecraft/mc-mods/scalar ) , ships Scala 3.x, used by Cleanroom mods
11- - You can't install them at same time!
7+ - [ Scala Legacy] ( https://github.com/CleanroomMC/Scalar/releases/tag/2.11.1 ) , use that if you are updating from Forge and/or don't know what's going on
8+ - [ Scala] ( https://github.com/CleanroomMC/Scalar/releases/tag/3.4.1 ) , will crash with most existing mods, used that if you know what you are doing
9+ - You can't install them together!
10+ - There is only 1 Scala 3 mods in 1.12.2! (OpenComputer Rescaled)
1211
13- ### Development guide :
12+ ### Development (temporary) :
1413
15- 1 . Add
14+ 1 . Add
1615``` groovy
1716maven {
1817 name "outlandsReleases"
19- url "https://maven.arcseekers.com /releases"
18+ url "https://maven.outlands.top /releases"
2019}
2120```
2221to your repositories
2322
24- 2 . Add ` runtimeOnly "com.cleanroommc:scalar:1.0.0" ` to your dependencies
25-
26- 3 . Add
23+ 2 . Add ` implementation "com.cleanroommc:scalar:1.0.0" ` to your dependencies (It will be shown as disabled in modlist but that's fine)
24+ 3 .
25+ Set your scala version to latest using scala plugin [ document] ( https://docs.gradle.org/current/userguide/scala_plugin.html )
26+ Example:
2727``` groovy
2828scala {
29- scalaVersion = '3.6.4 '
29+ scalaVersion = '3.7.2 '
3030}
3131```
32- to your build script
33-
34- 4 . Set ` modLanguage = "scala" ` in ` @Mod() `
35-
36- 5 . Scala 2 -> 3 porting guide is WIP
32+ 4 . ` modLanguage = "scala" ` in ` @Mod() `
You can’t perform that action at this time.
0 commit comments