22
33Standalone Scala provider mod, support Scala 3 and Scala 2.11
44
5- Use with experimental branch Cleanroom (3025+)
6-
75### Downloads:
86
9- - [ Scala 2.11.x ] ( https://github.com/CleanroomMC/Scalar/releases/tag/2.11.1 ) , used by non-Cleanroom-based Scala mod
10- - [ Scala 3.x ] ( https://github.com/CleanroomMC/Scalar/releases/tag/3.4.1 ) , used by Cleanroom-based new mod or forks
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
119- You can't install them together!
12- - There is only 1 Scala 3 mods in 1.12.2! (OpenComputer CRL edition )
10+ - There is only 1 Scala 3 mods in 1.12.2! (OpenComputer Rescaled )
1311
1412### Development (temporary):
1513
@@ -22,16 +20,6 @@ maven {
2220```
2321to your repositories
2422
25- 2 . Add ` implementation "com.cleanroommc:scalar:3.5.1:api" ` to your dependencies
26- 3 . Add
27- ``` groovy
28- implementation 'org.scala-lang:scala3-compiler_3:3.6.3'
29- implementation 'org.scala-lang:scala3-library_3:3.6.3'
30- implementation 'com.typesafe:config:1.4.3'
31- implementation 'org.typelevel:cats-core_3:2.13.0'
32- implementation 'org.typelevel:cats-kernel_3:2.13.0'
33- implementation 'org.typelevel:cats-free_3:2.13.0'
34- ```
35- to your dependencies (Yes you need to declare them yourself)
36-
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 . Set your scala version to latest using scala plugin [ document] ( https://docs.gradle.org/current/userguide/scala_plugin.html )
37254 . ` modLanguage = "scala" ` in ` @Mod() `
0 commit comments