From 46ccc9bf84f072c6747bac92e74faed5bdd13040 Mon Sep 17 00:00:00 2001 From: Joe Date: Sat, 28 Oct 2023 00:03:52 +0100 Subject: [PATCH] Add minotaur to build gradle --- build.gradle | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/build.gradle b/build.gradle index 72d9f4d..5963143 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,7 @@ plugins { id 'fabric-loom' version '1.4-SNAPSHOT' id 'maven-publish' + id 'com.modrinth.minotaur' version '2.+' } version = project.mod_version @@ -113,6 +114,21 @@ jar { } } +modrinth { + if (System.getenv('MODRINTH_TOKEN') == null && project.hasProperty('modrinthKey')) { + token = project.modrinthKey + } + projectId = 'viavanillaplus' + uploadFile = remapJar + gameVersions = [project.minecraft_version] + loaders = ['fabric', 'quilt'] + dependencies { + optional.project 'viafabricplus' + optional.project 'viafabric' + optional.project 'carpet' + } +} + // configure the maven publication publishing { publications {