From c42e5390860624fee74af2242145c2afff5d5751 Mon Sep 17 00:00:00 2001 From: Platymemo Date: Mon, 11 Jul 2022 01:00:12 -0800 Subject: [PATCH] add dependencies to modrinth upload task --- build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle b/build.gradle index e3d0973..754bbab 100644 --- a/build.gradle +++ b/build.gradle @@ -93,6 +93,7 @@ publishing { } import com.modrinth.minotaur.TaskModrinthUpload +import com.modrinth.minotaur.request.Dependency task publishModrinth (type: TaskModrinthUpload) { onlyIf { @@ -106,6 +107,8 @@ task publishModrinth (type: TaskModrinthUpload) { uploadFile = remapJar changelog = new File("markdown/versions/${project.mod_version}.md").getText('UTF-8') addGameVersion('1.19') + addDependency('fabric-api', Dependency.DependencyType.REQUIRED) + addDependency('cloth-config', Dependency.DependencyType.REQUIRED) addLoader('fabric') }