Skip to content

Commit

Permalink
Last fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Oct 11, 2024
1 parent b408191 commit 93c1163
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,15 @@ class SubprojectPlugin: Plugin<Project> {
private fun setupDependencies(project: Project) {
project.dependencies.apply {
val minecraft_version: String by project
val parchment_minecraft_version: String by project
val parchment_version: String by project
val loom = project.the<LoomGradleExtensionAPI>()

add("minecraft", "com.mojang:minecraft:${minecraft_version}")

add("mappings", loom.layered {
officialMojangMappings()
parchment("org.parchmentmc.data:parchment-${minecraft_version}:${parchment_version}@zip")
parchment("org.parchmentmc.data:parchment-${parchment_minecraft_version}:${parchment_version}@zip")
})

add("api", "com.google.code.findbugs:jsr305:3.0.2")
Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jarSets {
dependencies {
modCompileOnly("net.fabricmc:fabric-loader:${property("fabric_loader_version")}")

modCompileOnly(":sodium-fabric-0.6.0-beta.2+mc1.21.1")
modCompileOnly("maven.modrinth:sodium:${property("sodium_version")}-fabric")

testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
}
Expand Down
2 changes: 1 addition & 1 deletion fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ dependencies {
modImplementation("net.fabricmc:fabric-loader:${property("fabric_loader_version")}")
modApi("net.fabricmc.fabric-api:fabric-api:${property("fabric_api_version")}")

modCompileOnly(":sodium-fabric-0.6.0-beta.2+mc1.21.1")
modCompileOnly("maven.modrinth:sodium:${property("sodium_version")}-fabric")
modCompileOnly("maven.modrinth:iris:${property("iris_version")}-fabric")

"forApi"(project(path = ":common", configuration = "commonApiOnly"))
Expand Down
2 changes: 1 addition & 1 deletion forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ repositories {
dependencies {
neoForge("net.neoforged:neoforge:${property("neoforge_version")}")

modCompileOnly(":sodium-neoforge-0.6.0-beta.2+mc1.21.1")
modCompileOnly("maven.modrinth:sodium:${property("sodium_version")}-neoforge")
modCompileOnly("maven.modrinth:iris:${property("iris_version")}-neoforge")

"forApi"(project(path = ":common", configuration = "commonApiOnly"))
Expand Down
5 changes: 3 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@ neoforge_version_range = [21.1.66,)
java_version = 21
arch_loom_version = 1.7.412
cursegradle_version = 1.4.0
parchment_minecraft_version = 1.21
parchment_version = 2024.07.07

# Minecraft build dependency versions
minecraft_version = 1.21.1
neoforge_version = 21.1.66
fabric_loader_version = 0.16.5
fabric_api_version = 0.105.0+1.21
fabric_api_version = 0.105.0+1.21.1

# Build dependency mod versions
sodium_version = mc1.21-0.6.0-beta.1
sodium_version = mc1.21-0.6.0-beta.2
iris_version = 1.8.0-beta.1+1.21

# Publication info
Expand Down
Binary file removed libs/sodium-fabric-0.6.0-beta.2+mc1.21.1.jar
Binary file not shown.
Binary file removed libs/sodium-neoforge-0.6.0-beta.2+mc1.21.1.jar
Binary file not shown.

0 comments on commit 93c1163

Please sign in to comment.