From 8fc18bca08a7f851dd19b6439df664aa8192d39a Mon Sep 17 00:00:00 2001 From: qouteall Date: Sun, 31 Dec 2023 13:53:19 +0800 Subject: [PATCH] 4.0.0 --- build.gradle | 28 +++++++++++++++++++++++++++- changelog.md | 1 + 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 changelog.md diff --git a/build.gradle b/build.gradle index 17bcf3d..7b47465 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ plugins { id 'fabric-loom' version '1.4-SNAPSHOT' id 'maven-publish' -// id 'io.github.juuxel.loom-vineflower' version '1.11.0' // https://github.com/Juuxel/loom-vineflower + id "me.modmuss50.mod-publish-plugin" version "0.3.5" } sourceCompatibility = JavaVersion.VERSION_17 @@ -125,3 +125,29 @@ publishing { // retrieving dependencies. } } + +publishMods { + file = remapJar.archiveFile + changelog = file("changelog.md").text + type = ALPHA + modLoaders.add("fabric") + + displayName = "v${project.mod_version}-mc${project.minecraft_version}" + version = "v${project.mod_version}-mc${project.minecraft_version}" + + curseforge { + projectId = "532473" + accessToken = providers.environmentVariable("CURSEFORGE_TOKEN") + minecraftVersions.add(minecraft_version) + } + modrinth { + projectId = "wrwoMwak" + accessToken = providers.environmentVariable("MODRINTH_TOKEN") + minecraftVersions.add(minecraft_version) + } + github { + repository = "iPortalTeam/MiniScaledMod" + accessToken = providers.environmentVariable("GITHUB_TOKEN") + commitish = minecraft_version // the branch name is the same as minecraft version + } +} \ No newline at end of file diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..61cbdd6 --- /dev/null +++ b/changelog.md @@ -0,0 +1 @@ +In 4.0.0, this mod has been greatly overhauled. Added the feature of wrapping, unwrapping and viewing scale boxes. See the wiki for more details. \ No newline at end of file