From 6293459521b988d7ec930c9b5c64152eb89c1f86 Mon Sep 17 00:00:00 2001 From: LimePotato Date: Sun, 25 Jun 2023 14:42:42 -0600 Subject: [PATCH] bump qsl/qfapi version 7.0.3 --- build.gradle | 27 ++++++++++++++++++++++++++- gradle.properties | 2 +- gradle/libs.versions.toml | 2 +- src/main/resources/quilt.mod.json | 2 +- 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index b0e65ab..4a990b3 100644 --- a/build.gradle +++ b/build.gradle @@ -1,10 +1,11 @@ plugins { + id "com.modrinth.minotaur" version "2.+" id 'maven-publish' alias libs.plugins.quilt.loom } archivesBaseName = project.archives_base_name -version = "${project.version}+${libs.versions.minecraft.get()}" +version = "${project.version}" group = project.maven_group repositories { @@ -70,6 +71,30 @@ jar { } } +//modrinth +import com.modrinth.minotaur.dependencies.ModDependency +tasks.modrinth.dependsOn(tasks.modrinthSyncBody) + +modrinth { + token = System.getenv("MODRINTH_TOKEN") // Please use an environment variable for this! The default is `$MODRINTH_TOKEN`. + projectId = "roses-quilt" // The ID of your Modrinth project. Slugs will not work. + versionNumber = version // The (preferably SemVer) version of the mod. If not specified, it'll use the `version` declaration + versionType = "release" // This is the default -- can also be `beta` or `alpha` + uploadFile = remapJar // Tells Minotaur to use the remapped jar + gameVersions = ["1.20", "1.20.1"] // An array of game versions the version supports + loaders = ["quilt"] // Self-explanatory. + changelog = "changed log! (wait about a minute, and refresh, it will be here)" + dependencies { // A special DSL for creating dependencies + // scope.type + // The scope can be `required`, `optional`, `incompatible`, or `embedded` + // The type can either be `project` or `version` + required.project "qsl" // Creates a new required dependency on Fabric API + optional.project "modmenu"//, "mc1.19.3-0.4.8" // Creates a new optional dependency on this specific version of Sodium + } + syncBodyFrom = rootProject.file("README.md").text +} + + // Configure the maven publication publishing { publications { diff --git a/gradle.properties b/gradle.properties index be8027f..435089e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,7 +10,7 @@ archives_base_name = roses_mod # Modrinth Metadata modrinth_slug= roses-mod modrinth_id= Hxo4BmMk -modrinth_game_versions= 1.20 +modrinth_game_versions= 1.20-1.20.1 modrinth_mod_loaders= quilt # Dependencies are managed at gradle/libs.versions.toml diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 94db176..6e9850b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ minecraft = "1.20" quilt_mappings = "1.20+build.4" quilt_loader = "0.19.1" -quilted_fabric_api = "7.0.1+0.83.0-1.20" +quilted_fabric_api = "7.0.3+0.83.1-1.20.1" [libraries] minecraft = { module = "com.mojang:minecraft", version.ref = "minecraft" } diff --git a/src/main/resources/quilt.mod.json b/src/main/resources/quilt.mod.json index 93adcc4..b096004 100644 --- a/src/main/resources/quilt.mod.json +++ b/src/main/resources/quilt.mod.json @@ -30,7 +30,7 @@ }, { "id": "quilted_fabric_api", - "versions": ">=7.0.1" + "versions": ">=7.0.3" }, { "id": "minecraft",