From 6bceab7de2343f3b16f42db484946ad6e361b7c0 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Tue, 21 May 2024 19:11:17 +0530 Subject: [PATCH] chore(build.gradle): include minotaur config --- README.md | 0 build.gradle | 16 ++++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/build.gradle b/build.gradle index 91813a5..d484732 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,6 @@ plugins { id 'fabric-loom' version '1.6-SNAPSHOT' + id "com.modrinth.minotaur" version "2.+" id 'maven-publish' } @@ -79,6 +80,21 @@ jar { } } +modrinth { + token = System.getenv("MODRINTH_TOKEN") + projectId = "elytralock" + versionType = "release" + debugMode = true + uploadFile = remapJar + loaders = ["fabric", "quilt"] + syncBodyFrom = rootProject.file("README.md").text + dependencies { + required.project "fabric-api" + optional.version "modmenu", "${project.modmenu_version}" + optional.version "yacl", "${project.yacl_version}-fabric" + } +} + // configure the maven publication publishing { publications {