aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog.md1
-rw-r--r--build.gradle15
2 files changed, 16 insertions, 0 deletions
diff --git a/Changelog.md b/Changelog.md
new file mode 100644
index 0000000..b46c62a
--- /dev/null
+++ b/Changelog.md
@@ -0,0 +1 @@
+Complete rewrite of the mod! \ No newline at end of file
diff --git a/build.gradle b/build.gradle
index b1ed0d5..1375453 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,6 +1,9 @@
+import java.nio.file.Files
+
plugins {
id 'fabric-loom' version '0.11-SNAPSHOT' apply false
id 'io.shcm.shsupercm.fabric.fletchingtable' version '1.4' apply false
+ id "com.modrinth.minotaur" version "2.+" apply false
}
version = project.mod_version + "+" + project.minecraft_version
@@ -67,6 +70,8 @@ allprojects {
}
}
+apply plugin: "com.modrinth.minotaur"
+
loom {
accessWidenerPath = file("src/main/resources/citresewn.accesswidener")
}
@@ -83,4 +88,14 @@ java {
sourcesJar {
from project("defaults:").sourceSets.main.java.srcDirs
+}
+modrinth {
+ token = TOKEN_MODRINTH
+ projectId = "otVJckYQ"
+ uploadFile = remapJar
+ changelog = Files.readString(projectDir.toPath().resolve("Changelog.md"))
+ versionNumber = version
+ versionName = "v" + version
+ additionalFiles = [ sourcesJar.outputs.getFiles().singleFile ]
+ gameVersions = ["1.18", "1.18.1", "1.18.2"]
} \ No newline at end of file