Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Jan 2, 2024
1 parent 4b0c8b4 commit 43476ba
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 13 deletions.
17 changes: 11 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ repositories {
maven {
name "modrinth"
url "https://api.modrinth.com/maven"
content {
includeGroup('maven.modrinth')
}
}

maven { url 'https://masa.dy.fi/maven' }
Expand Down Expand Up @@ -83,22 +86,24 @@ dependencies {
}

// midnightlib
modImplementation include("maven.modrinth:midnightlib:${midnightlib_version}-quilt")
modImplementation(libs.midnightLib)
include(libs.midnightLib)

// satin
modImplementation include("org.ladysnake:satin:${satin_version}") {
modImplementation(libs.satin) {
exclude group: 'net.fabricmc'
}
include(libs.satin)

// lodestone lib
modImplementation include("team.lodestar.lodestone:LodestoneLib-Quilt:${lodestone_version}") {
modImplementation(libs.lodestoneLib) {
exclude group: 'io.github.ladysnake'
}
include(libs.lodestoneLib)

// iris and sodium
modCompileOnly("maven.modrinth:sodium:${project.sodium_version}")
modRuntimeOnly("maven.modrinth:sodium:${project.sodium_version}")
modRuntimeOnly("maven.modrinth:iris:${project.iris_version}")
modLocalImplementation(libs.sodium)
modLocalImplementation(libs.iris)
runtimeOnly compileOnly("org.anarres:jcpp:1.4.14") // for iris
}

Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Brought to you on 1.20.1 by the combined efforts of SzczurekYT and Motschen (big
- Updated to 1.20.1
- Updated config screen
- Added Swedish localization (Thanks Dontknow09 !)
- Fixed crash when Satin was not installed separately
- *Dev thing: changed maven group and package to `org.ladysnake`*

------------------------------------------------------
Expand Down
8 changes: 1 addition & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ version = 3.0.0
maven_group = org.ladysnake
archives_base_name = effective

#Mod Depencencies
mod_menu_version=7.2.1
sodium_version=mc1.20.1-0.5.1
iris_version=1.6.7+1.20.1
satin_version = 1.14.0
midnightlib_version= 1.4.1
lodestone_version = 0.0.4+1.20.1
### For dependencies, look at gradle/libs.versions.toml

# Release metadata
modrinth_id = pcPXJeZi
Expand Down
14 changes: 14 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ quilt-loader = "0.23.0-beta.1"

quilt-quiltedFabricApi = "7.1.1+0.86.1-1.20.1"

# Third party dependencies
# The latest versions should be available at https://ladysnake.org/tools/dependencies
iris = "1.6.11+1.20.1"
lodestoneLib = "0.0.4+1.20.1"
midnightLib = "1.4.1-quilt"
modmenu = "7.2.2"
satin = "1.14.0"
sodium = "mc1.20.1-0.5.3"

[libraries]
minecraft = { module = "com.mojang:minecraft", version.ref = "minecraft" }
Expand All @@ -16,7 +23,14 @@ quilt-loader = { module = "org.quiltmc:quilt-loader", version.ref = "quilt-loade

quilt-quiltedFabricApi = { module = "org.quiltmc.quilted-fabric-api:quilted-fabric-api", version.ref = "quilt-quiltedFabricApi" }
quilt-quiltedFabricApi-deprecated = { module = "org.quiltmc.quilted-fabric-api:quilted-fabric-api-deprecated", version.ref = "quilt-quiltedFabricApi" }

# Third party dependencies
iris = { module = "maven.modrinth:iris", version.ref = "iris" }
lodestoneLib = { module = "team.lodestar.lodestone:LodestoneLib-Quilt", version.ref = "lodestoneLib" }
midnightLib = { module = "maven.modrinth:midnightlib", version.ref = "midnightLib" }
modmenu = { module = "com.terraformersmc:modmenu", version.ref = "modmenu"}
satin = { module = "org.ladysnake:satin", version.ref = "satin" }
sodium = { module = "maven.modrinth:sodium", version.ref = "sodium"}

# If you have multiple similar dependencies, you can declare a dependency bundle and reference it on the build script with "libs.bundles.example".
[bundles]
Expand Down
14 changes: 14 additions & 0 deletions src/main/resources/quilt.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,20 @@
{
"id": "lodestone",
"versions": "*"
},
{
"id": "midnightlib",
"versions": "*"
},
{
"id": "satin",
"versions": "*"
}
],
"breaks": [
{
"id": "sodium",
"versions": "<0.5.0"
}
]
},
Expand Down

0 comments on commit 43476ba

Please sign in to comment.