aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle15
1 files changed, 15 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 2184f95..6d1f37a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,6 +1,7 @@
plugins {
id "fabric-loom" version "1.2-SNAPSHOT"
id "org.jetbrains.kotlin.jvm" version "1.8.22"
+ id "com.modrinth.minotaur" version "2.+"
}
version = project.mod_version
@@ -56,3 +57,17 @@ jar {
rename { "${it}_${project.archivesBaseName}" }
}
}
+
+modrinth {
+ syncBodyFrom = rootProject.file("README.md").text
+ token = System.getenv("MODRINTH_TOKEN")
+ projectId = "gloppers"
+ versionType = "release"
+ uploadFile = remapJar
+ gameVersions = ["1.20", "1.20.1"]
+ loaders = ["fabric", "quilt"]
+ dependencies {
+ required.project "fabric-api"
+ required.project "fabric-language-kotlin"
+ }
+}