From 6ca808343ff4dda44fb1e12fd0eb3a003acb27e1 Mon Sep 17 00:00:00 2001 From: Ennui Langeweile <85590273+EnnuiL@users.noreply.github.com> Date: Sat, 11 Jun 2022 04:04:01 -0300 Subject: [PATCH] Update to 1.19 --- build.gradle | 1 + gradle/libs.versions.toml | 13 +++++++------ src/main/resources/quilt.mod.json | 6 +++--- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index c4826ff..6725b5c 100644 --- a/build.gradle +++ b/build.gradle @@ -28,6 +28,7 @@ dependencies { // QSL is not a complete API; You will need Quilted Fabric API to fill in the gaps. // Quilted Fabric API will automatically pull in the correct QSL version. modImplementation libs.quilted.fabric.api + // modImplementation libs.bundles.quilted.fabric.api // If you wish to use Fabric API's deprecated modules, you can replace the above line with this one } processResources { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index c5394d0..cf5d61e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,10 +1,10 @@ [versions] # The latest versions are available at https://lambdaurora.dev/tools/import_quilt.html -minecraft = "1.18.2" -quilt_mappings = "1.18.2+build.24" -quilt_loader = "0.17.0" +minecraft = "1.19" +quilt_mappings = "1.19+build.1" +quilt_loader = "0.16.1" -quilted_fabric_api = "1.0.0-beta.20+0.55.1-1.18.2" +quilted_fabric_api = "2.0.0-alpha.2+0.55.3-1.19" [libraries] minecraft = { module = "com.mojang:minecraft", version.ref = "minecraft" } @@ -12,10 +12,11 @@ quilt_mappings = { module = "org.quiltmc:quilt-mappings", version.ref = "quilt_m quilt_loader = { module = "org.quiltmc:quilt-loader", version.ref = "quilt_loader" } quilted_fabric_api = { module = "org.quiltmc.quilted-fabric-api:quilted-fabric-api", version.ref = "quilted_fabric_api" } +quilted_fabric_api_deprecated = { module = "org.quiltmc.quilted-fabric-api:quilted-fabric-api-deprecated", version.ref = "quilted_fabric_api" } # If you have multiple similar dependencies, you can declare a dependency bundle and reference it on the build script with "libs.bundles.example". -# [bundles] -# example = ["example-a", "example-b", "example-c"] +[bundles] +quilted_fabric_api = ["quilted_fabric_api", "quilted_fabric_api_deprecated"] [plugins] quilt_loom = { id = "org.quiltmc.loom", version = "0.12.+" } diff --git a/src/main/resources/quilt.mod.json b/src/main/resources/quilt.mod.json index 4a3266a..0431f67 100644 --- a/src/main/resources/quilt.mod.json +++ b/src/main/resources/quilt.mod.json @@ -24,15 +24,15 @@ "depends": [ { "id": "quilt_loader", - "versions": ">=0.16.0-" + "versions": ">=0.17.0-" }, { "id": "quilted_fabric_api", - "versions": ">=1.0.0-" + "versions": ">=2.0.0-" }, { "id": "minecraft", - "versions": ">=1.18.2" + "versions": ">=1.19" } ] },