Skip to content

Commit

Permalink
Update to 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
ChloeDawn committed Jun 24, 2022
1 parent 730d99d commit 8e56d36
Show file tree
Hide file tree
Showing 9 changed files with 274 additions and 264 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Armor Sound Tweak
A mod for Minecraft that plays the respective equip sound when (un)equipping armor in a menu
A mod for Minecraft that plays the respective equip sound when (un)equipping armor in a menu.
42 changes: 27 additions & 15 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ import java.time.Instant
import net.minecraftforge.gradle.common.tasks.SignJar

plugins {
id("net.minecraftforge.gradle") version "5.1.26"
id("net.nemerosa.versioning") version "2.15.1"
id("signing")
id("net.minecraftforge.gradle") version "5.1.48"
id("net.nemerosa.versioning") version "3.0.0"
id("org.gradle.signing")
}

group = "dev.sapphic"
version = "5.0.0"
version = "6.0.0"

java {
withSourcesJar()
}

minecraft {
mappings("official", "1.18.1")
mappings("official", "1.19")

runs {
listOf("client", "server").forEach {
Expand Down Expand Up @@ -51,24 +51,36 @@ repositories {
}

dependencies {
minecraft("net.minecraftforge:forge:1.18.1-39.0.0")
implementation("org.checkerframework:checker-qual:3.20.0")
implementation(fg.deobf("me.shedaniel.cloth:cloth-config-forge:6.1.48"))
runtimeOnly(fg.deobf("top.theillusivec4.curios:curios-forge:1.18-5.0.2.4"))
compileOnly(fg.deobf("top.theillusivec4.curios:curios-forge:1.18-5.0.2.4:api"))
minecraft("net.minecraftforge:forge:1.19-41.0.45")

implementation(fg.deobf("me.shedaniel.cloth:cloth-config-forge:7.0.72"))

runtimeOnly(fg.deobf("top.theillusivec4.curios:curios-forge:1.19-5.1.0.2"))
compileOnly(fg.deobf("top.theillusivec4.curios:curios-forge:1.19-5.1.0.2:api"))

// Curios' debug items were removed in 1.17 so we use this for testing
runtimeOnly(fg.deobf("curse.maven:curio-of-undying-316873:3553486")) // 1.18-5.3.0.0
runtimeOnly(fg.deobf("curse.maven:technobauble-492052:3836078")) // 0.5.0.1
runtimeOnly(fg.deobf("curse.maven:bdlib-70496:3836059")) // 1.20.0.3
runtimeOnly(fg.deobf("curse.maven:scalable-cats-force-320926:3759354")) // 2.13.8-build-4

implementation("org.checkerframework:checker-qual:3.22.1")
}

tasks {
compileJava {
with(options) {
release.set(17)
isFork = true
isDeprecation = true
encoding = "UTF-8"
compilerArgs.addAll(listOf("-Xlint:all", "-parameters"))
isFork = true
compilerArgs.addAll(
listOf(
"-Xlint:all", "-Xlint:-processing",
// Enable parameter name class metadata
// https://openjdk.java.net/jeps/118
"-parameters"
)
)
release.set(17)
}
}

Expand Down Expand Up @@ -104,7 +116,7 @@ tasks {
}

val sourcesJar by getting(Jar::class) {
archiveClassifier.set("forge-${archiveClassifier.get()}")
archiveClassifier.set("forge-sources")
}

if (project.hasProperty("signing.mods.keyalias")) {
Expand Down
2 changes: 0 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
org.gradle.console = verbose
org.gradle.jvmargs = -Xmx4G -Dfile.encoding=UTF-8
org.gradle.logging.level = info
org.gradle.parallel = true
org.gradle.warning.mode = all
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=b75392c5625a88bccd58a574552a5a323edca82dab5942d2d41097f809c6bcce
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-all.zip
distributionSha256Sum=e6d864e3b5bc05cc62041842b306383fc1fefcec359e70cebb1d470a6094ca82
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 8e56d36

Please sign in to comment.