From a88a4bdab6492220354da92f94f2f92f9ca6cfd0 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Thu, 29 Aug 2024 20:51:02 +0100 Subject: Modrinth publishing --- build.gradle | 10 ++++++++++ settings.gradle | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a710c45..4e1a421 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,5 @@ plugins { + id 'com.modrinth.minotaur' version '2.+' id 'fabric-loom' version '1.7-SNAPSHOT' id 'maven-publish' } @@ -57,3 +58,12 @@ jar { rename { "${it}_${project.base.archivesName.get()}"} } } + +modrinth { + token = System.getenv("MODRINTH_TOKEN") + projectId = '6ZhBLBXS' + uploadFile = remapJar + gameVersions = ['1.20.1'] + loaders = ['fabric'] + syncBodyFrom = rootProject.file("README.md").text +} diff --git a/settings.gradle b/settings.gradle index 75c4d72..dfacbd1 100644 --- a/settings.gradle +++ b/settings.gradle @@ -7,4 +7,4 @@ pluginManagement { mavenCentral() gradlePluginPortal() } -} \ No newline at end of file +} -- cgit v1.2.3-54-g00ecf