Made sodium use cursedforge and added toml to core

This commit is contained in:
coolGi2007
2022-02-10 13:49:38 +10:30
parent 3d9228ceac
commit 911c802211
6 changed files with 10 additions and 14 deletions
+3
View File
@@ -35,6 +35,9 @@ subprojects { p ->
// The following line declares the mojmap mappings
mappings loom.officialMojangMappings()
// Toml
implementation("com.electronwill.night-config:toml:${rootProject.toml_version}")
if (p != project(":forge")) {
// We depend on fabric loader here to use the fabric @Environment annotations and get the mixin dependencies
// Do NOT use other classes from fabric loader unless working with fabric
-4
View File
@@ -26,8 +26,4 @@ publishing {
repositories {
// Add repositories to publish to here.
}
}
dependencies {
implementation("com.electronwill.night-config:toml:${rootProject.toml_version}")
}
+1 -1
Submodule core updated: cbcb7ca6ac...40a8f228ac
+1 -5
View File
@@ -39,7 +39,7 @@ dependencies {
}
// Sodium
modImplementation "maven.modrinth:sodium:${rootProject.sodium_version}"
modImplementation "curse.maven:sodium-394468:${rootProject.sodium_version}"
implementation "org.joml:joml:1.10.2"
// Lithium
@@ -49,10 +49,6 @@ dependencies {
// modImplementation "maven.modrinth:iris:${rootProject.iris_version}"
// Toml
implementation("com.electronwill.night-config:toml:${rootProject.toml_version}")
shadowMe("com.electronwill.night-config:toml:${rootProject.toml_version}") {}
common(project(path: ":common", configuration: "namedElements")) { transitive false }
shadowMe(project(path: ":common", configuration: "transformProductionFabric")) { transitive false }
+4 -3
View File
@@ -32,11 +32,12 @@ dependencies {
common(project(path: ":common", configuration: "namedElements")) { transitive false }
shadowMe(project(path: ":common", configuration: "transformProductionForge")) { transitive = false }
// implementation("com.electronwill.night-config:toml:${rootProject.toml_version}") // This is already included with forge
// forgeDependencies(shadowMe("com.electronwill.night-config:toml:${rootProject.toml_version}") {}) // This is already included with forge
// forgeDependencies(project(":core")) { transitive false }
// Toml
shadowMe("com.electronwill.night-config:toml:${rootProject.toml_version}") {}
forgeDependencies('org.tukaani:xz:1.9')
forgeDependencies('org.apache.commons:commons-compress:1.21')
shadowMe 'org.tukaani:xz:1.9'
+1 -1
View File
@@ -18,7 +18,7 @@ fabric_api_version=0.34.2+1.16
# Fabric mods
modmenu_version=1.16.22
lithium_version=mc1.16.5-0.6.6
sodium_version=mc1.16.5-0.2.0
sodium_version=3488820
iris_version=1.16.x-v1.1.4
# Forge loader