Last fixes

This commit is contained in:
IThundxr 2024-10-10 20:54:25 -04:00
parent b408191d0f
commit 93c116384f
Failed to generate hash of commit
7 changed files with 8 additions and 6 deletions

View file

@ -99,6 +99,7 @@ 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>()
@ -106,7 +107,7 @@ class SubprojectPlugin: Plugin<Project> {
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")

View file

@ -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")
}

View file

@ -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"))

View file

@ -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"))

View file

@ -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