From 14130097c5da1bfa3a888012123a016e10671d3b Mon Sep 17 00:00:00 2001 From: Skye Date: Tue, 6 Jun 2023 16:58:38 +0900 Subject: [PATCH] chore: bump deps --- build.gradle.kts | 4 ++-- settings.gradle.kts | 2 +- version.gradle.kts | 10 +++++++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 4589a71..9a10e00 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,8 +5,8 @@ plugins { preprocess { val fabric11904 = createNode("1.19.4-fabric", 11903, "yarn") val fabric11802 = createNode("1.18.2-fabric", 11802, "yarn") - val forge11904 = createNode("1.19.4-forge", 11903, "yarn") - val forge11802 = createNode("1.18.2-forge", 11802, "yarn") + val forge11904 = createNode("1.19.4-forge", 11903, "srg") + val forge11802 = createNode("1.18.2-forge", 11802, "srg") fabric11904.link(forge11904) forge11904.link(forge11802) diff --git a/settings.gradle.kts b/settings.gradle.kts index 68fc6b5..35a6d12 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -25,7 +25,7 @@ pluginManagement { kotlin("jvm") version(kotlin) kotlin("plugin.serialization") version(kotlin) - val epgt = "1.10.3" + val epgt = "1.15.1" id("xyz.deftu.gradle.multiversion-root") version(epgt) } } diff --git a/version.gradle.kts b/version.gradle.kts index 8ebcf13..21c1e78 100644 --- a/version.gradle.kts +++ b/version.gradle.kts @@ -21,19 +21,22 @@ val bundle by configurations.creating { } else configurations.getByName("shade").extendsFrom(this) } -loomHelper { +toolkitLoomHelper { if (mcData.isForge) { useForgeMixin("e4mc_minecraft.mixins.json", true) } } -releases { +java { + withSourcesJar() +} + +toolkitReleases { gameVersions.set(when (mcData.version) { 11904 -> listOf("1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4") 11802 -> listOf("1.17", "1.17.1", "1.18", "1.18.1", "1.18.2") else -> listOf() }) - version.set("${modData.version}+${mcData.versionStr}-${mcData.loader.name}") releaseName.set("[${when (mcData.version) { 11904 -> "1.19-" 11802 -> "1.17-1.18.2" @@ -44,6 +47,7 @@ releases { } modrinth { projectId.set("qANg5Jrr") + useSourcesJar.set(true) if (mcData.isFabric) { dependencies.set( listOf(