Skip to content

Commit

Permalink
Update Scala and Cats.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kotori316 committed Sep 29, 2022
1 parent 9e42f18 commit 7b15571
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This mod adds Scala library to Minecraft 1.19 with Forge.
minecraft 'net.minecraftforge:forge:1.19-41.0.98'
compileOnly(group: 'org.scala-lang', name: 'scala-library', version: scala_version)
// Add if you need this library. I use a modified version of Cats to avoid some module errors.
compileOnly(group: 'org.typelevel', name: "cats-core_${scala_major}", version: '2.8.2-kotori')
compileOnly(group: 'org.typelevel', name: "cats-core_${scala_major}", version: '2.8.4-kotori')
// The language loader. You can put the jar to the mods dir instead of declaring in `build.gradle`.
// This file is needed as the scala library will not be loaded in dev environment due to change of classpath by Forge.
Expand All @@ -51,8 +51,8 @@ This mod adds Scala library to Minecraft 1.19 with Forge.

* **If the Minecraft client doesn't launch with an exception to modules, change scala dependency from "implementation"
to "compileOnly" and add slp mod in mods directory.**
* Properties are set in your `gradle.properties` file or just hardcoded like `def scala_version = "2.13.8"`.
* `scala_version` should be 2.13.8 because this project contains binary of Scala 2.13.8. Make sure your version
* Properties are set in your `gradle.properties` file or just hardcoded like `def scala_version = "2.13.9"`.
* `scala_version` should be 2.13.9 because this project contains binary of Scala 2.13.9. Make sure your version
matches the version this mod provides. See [this file](https://github.com/Kotori316/SLP/blob/1.19/gradle.properties)
* `scala_major` must be 2.13.
* Currently, Scala3 is not supported.
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
scala_version=2.13.8
cats_version=2.8.2-kotori
build_number=8
scala_version=2.13.9
cats_version=2.8.4-kotori
build_number=9
forgeVersion=1.19.2-43.1.16
branch=1.19
# https://ldtteam.jfrog.io/ui/native/parchmentmc-public/org/parchmentmc/data/parchment-1.18.2
Expand Down

0 comments on commit 7b15571

Please sign in to comment.