Updated toml and json and fixed up a mistake in the readme

This commit is contained in:
coolGi2007
2022-04-30 18:51:07 +09:30
parent 502d3424b0
commit 2b8aea39d7
5 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ This branch support 4 built versions:
- 1.18.2
- 1.18.1 (which also runs on 1.18)
- 1.17.1 (which also runs on 1.17)
- 1.16.5 (which also runs 1.16.5)
- 1.16.5 (which also runs 1.16.4)
To switch between active versions, change `mcVer=1.?` in `gradle.properties` file.
+1 -1
View File
@@ -133,7 +133,7 @@ subprojects { p ->
// Toml & Json for config
implementation("com.electronwill.night-config:toml:${rootProject.toml_version}")
implementation("com.googlecode.json-simple:json-simple:1.1.1")
implementation("com.googlecode.json-simple:json-simple:${rootProject.json_version}")
if (p != project(":forge")) {
// We depend on fabric loader here to use the fabric @Environment annotations and get the mixin dependencies
+6 -4
View File
@@ -52,9 +52,11 @@ dependencies {
// Sodium
addMod("curse.maven:sodium-394468:${rootProject.sodium_version}", rootProject.enable_sodium)
implementation "org.joml:joml:1.10.2"
modImplementation(fabricApi.module("fabric-rendering-data-attachment-v1", rootProject.fabric_api_version))
modImplementation(fabricApi.module("fabric-rendering-fluids-v1", rootProject.fabric_api_version))
if (rootProject.enable_sodium != "0") {
implementation "org.joml:joml:1.10.2"
modImplementation(fabricApi.module("fabric-rendering-data-attachment-v1", rootProject.fabric_api_version))
modImplementation(fabricApi.module("fabric-rendering-fluids-v1", rootProject.fabric_api_version))
}
// Lithium
addMod("maven.modrinth:lithium:${rootProject.lithium_version}", rootProject.enable_lithium)
@@ -85,7 +87,7 @@ dependencies {
// Toml & Json for config
shadowMe("com.electronwill.night-config:toml:${rootProject.toml_version}") {}
shadowMe("com.googlecode.json-simple:json-simple:1.1.1") {}
shadowMe("com.googlecode.json-simple:json-simple:${rootProject.json_version}") {}
common(project(path: ":common", configuration: "namedElements")) { transitive false }
shadowMe(project(path: ":common", configuration: "transformProductionFabric")) { transitive false }
+1 -1
View File
@@ -48,7 +48,7 @@ dependencies {
// Toml & Json for config
shadowMe("com.electronwill.night-config:toml:${rootProject.toml_version}") {}
shadowMe("com.googlecode.json-simple:json-simple:1.1.1") {}
shadowMe("com.googlecode.json-simple:json-simple:${rootProject.json_version}") {}
// Compression
forgeDependencies('org.tukaani:xz:1.9')
+3 -2
View File
@@ -14,8 +14,9 @@ mod_source=https://gitlab.com/jeseibel/minecraft-lod-mod/
mod_issues=https://gitlab.com/jeseibel/minecraft-lod-mod/-/issues
# Global Plugin versions
toml_version=3.6.4
manifold_version=2022.1.7
toml_version=3.6.5
json_version=1.1.1
manifold_version=2022.1.11
mcVersions=1.16.5,1.17.1,1.18.1,1.18.2
##### FOR IDE SUPPORT AND TELL IDE TO USE CERTIAN MC VERSION: SWITCH THIS: