Skip to content

Commit

Permalink
Update to 1.19.4
Browse files Browse the repository at this point in the history
 - Updated Gradle and dependencies
 - Updated mod metadata
 - Added quiltflower decompiler to workspace
 - Refactored to game changes
  • Loading branch information
ChloeDawn committed May 1, 2023
1 parent 7fa8f2f commit 5d0ee81
Show file tree
Hide file tree
Showing 9 changed files with 294 additions and 272 deletions.
23 changes: 14 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import java.time.Instant

plugins {
id(/*net.fabricmc.*/ "fabric-loom") version "1.0.17"
id(/*net.fabricmc.*/ "fabric-loom") version "1.2.5"
id("io.github.juuxel.loom-quiltflower") version "1.8.0"
id("net.nemerosa.versioning") version "3.0.0"
id("org.gradle.signing")
}

group = "dev.sapphic"
version = "1.7.5+1.19.3"
version = "1.7.6+1.19.4"

if ("CI" in System.getenv()) {
version = "$version-${versioning.info.build}"
Expand All @@ -17,6 +18,10 @@ java {
withSourcesJar()
}

quiltflower {
preferences.patternMatching(0)
}

loom {
accessWidenerPath.set(file(".accesswidener"))

Expand Down Expand Up @@ -53,29 +58,29 @@ repositories {
}

dependencies {
minecraft("com.mojang:minecraft:1.19.3")
minecraft("com.mojang:minecraft:1.19.4")
mappings(loom.layered {
officialMojangMappings {
nameSyntheticMembers = true
}
})

modImplementation("net.fabricmc:fabric-loader:0.14.12")
modImplementation("net.fabricmc:fabric-loader:0.14.19")

implementation("org.jetbrains:annotations:23.1.0")
implementation("org.checkerframework:checker-qual:3.29.0")
implementation("org.jetbrains:annotations:24.0.1")
implementation("org.checkerframework:checker-qual:3.33.0")

fun fabricApiModule(moduleName: String): Dependency =
fabricApi.module(moduleName, "0.72.0+1.19.3")
fabricApi.module(moduleName, "0.80.0+1.19.4")

modImplementation(include(fabricApiModule("fabric-api-base"))!!)
modImplementation(include(fabricApiModule("fabric-networking-api-v1"))!!)
modImplementation(include(fabricApiModule("fabric-registry-sync-v0"))!!)
modImplementation(include(fabricApiModule("fabric-resource-loader-v0"))!!)

modImplementation(include("com.jamieswhiteshirt:reach-entity-attributes:2.3.1")!!)
modImplementation(include("com.jamieswhiteshirt:reach-entity-attributes:2.3.2")!!)

modRuntimeOnly("com.terraformersmc:modmenu:5.0.2")
modRuntimeOnly("com.terraformersmc:modmenu:6.2.2")
}

tasks {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=db9c8211ed63f61f60292c69e80d89196f9eb36665e369e7f00ac4cc841c2219
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
distributionSha256Sum=5625a0ae20fe000d9225d000b36909c7a0e0e8dda61c19b12da769add847c975
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 5d0ee81

Please sign in to comment.