Skip to content

Commit

Permalink
Update Gradle, Loom, and MC
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Oct 6, 2023
1 parent 81b3e6e commit 8cd2f24
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
13 changes: 3 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,11 @@ plugins {
// This prevents a lot of issues where the build script can fail randomly because the Fabric Maven server
// is not reachable for some reason, and it makes builds much more reproducible. Observation also shows that it
// really helps to improve startup times on slow connections.
id 'fabric-loom' version '1.3.8'

// Vineflower is a fork of the FernFlower decompiler which contains many enhancements and bug fixes, and generally
// produces much better source code. The Minecraft sources can be decompiled using it with the
// "genSourcesWithVineflower" task.
// (Note: Quiltflower was renamed to Vineflower in early July 2023.)
id 'io.github.juuxel.loom-vineflower' version '1.11.0'
id 'fabric-loom' version '1.4.1'

// This dependency is only used to determine the state of the Git working tree so that build artifacts can be
// more easily identified. TODO: Lazily load GrGit via a service only when builds are performed.
id 'org.ajoberstar.grgit' version '5.0.0'
id 'org.ajoberstar.grgit' version '5.2.0'
}

apply from: "${rootProject.projectDir}/gradle/fabric.gradle"
Expand Down Expand Up @@ -86,8 +80,7 @@ dependencies {
modIncludeImplementation(fabricApi.module("fabric-rendering-fluids-v1", project.fabric_version))
// `fabricApi.module` does not work with deprecated modules, so add the module dependency manually.
// This is planned to be fixed in Loom 1.4.
// modIncludeImplementation(fabricApi.module("fabric-rendering-data-attachment-v1", project.fabric_version))
modIncludeImplementation("net.fabricmc.fabric-api:fabric-rendering-data-attachment-v1:0.3.38+73761d2e9a")
modIncludeImplementation(fabricApi.module("fabric-rendering-data-attachment-v1", project.fabric_version))
modIncludeImplementation(fabricApi.module("fabric-resource-loader-v0", project.fabric_version))
}

Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ org.gradle.jvmargs=-Xmx2G

# Fabric Properties
# check these on https://fabricmc.net/develop/
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.1
minecraft_version=23w40a
yarn_mappings=23w40a+build.6
loader_version=0.14.22
fabric_version=0.89.0+1.20.2
fabric_version=0.89.4+1.20.3

# Mod Properties
mod_version=0.5.3
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 8cd2f24

Please sign in to comment.