Skip to content

Commit 2c2a003

Browse files
Update readme and gradle
1 parent bc3bb0c commit 2c2a003

File tree

4 files changed

+10
-22
lines changed

4 files changed

+10
-22
lines changed

README.md

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22

33
Standalone 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
```
2321
to 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)
3725
4. `modLanguage = "scala"` in `@Mod()`

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
id 'maven-publish'
88
id 'org.jetbrains.gradle.plugin.idea-ext' version '1.1.10'
99
id 'org.jetbrains.changelog' version '2.2.1'
10-
id 'xyz.wagyourtail.unimined' version '1.3.14'
10+
id 'xyz.wagyourtail.unimined' version '1.4.1'
1111
}
1212

1313
apply from: 'gradle/scripts/helpers.gradle'
@@ -33,7 +33,7 @@ version = propertyString('mod_version')
3333
group = propertyString('root_package')
3434

3535
base {
36-
archivesName.set(propertyString('mod_id'))
36+
archivesName.set(propertyString('mod_name'))
3737
}
3838

3939

@@ -66,7 +66,7 @@ unimined.minecraft {
6666
if (propertyBool('use_access_transformer')) {
6767
accessTransformer 'src/main/resources/META-INF/' + propertyString('access_transformer_locations')
6868
}
69-
loader "0.3.0-alpha"
69+
loader "0.3.13-alpha"
7070
runs.config("client") {
7171
jvmArgs extra_jvm_args
7272
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ show_testing_output = false
1111

1212
# Mod Information
1313
# HIGHLY RECOMMEND complying with SemVer for mod_version: https://semver.org/
14-
mod_version = 1.0.0
14+
mod_version = 1.0.1
1515
root_package = com.cleanroommc
1616
mod_id = scalar
1717
mod_name = Scalar Legacy

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)