aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index bf14610c41..bc7fcfd33f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,4 +1,4 @@
-//version: 1665425597
+//version: 1666118075
/*
DO NOT CHANGE THIS FILE!
Also, you may replace this file at any time if there is an update available.
@@ -693,6 +693,9 @@ if (modrinthProjectId.size() != 0 && System.getenv("MODRINTH_TOKEN") != null) {
addModrinthDep(qual[0], qual[1], parts[1])
}
}
+ if (usesMixins.toBoolean()) {
+ addModrinthDep("required", "version", "gtnhmixins")
+ }
tasks.modrinth.dependsOn(build)
tasks.publish.dependsOn(tasks.modrinth)
}
@@ -734,6 +737,9 @@ if (curseForgeProjectId.size() != 0 && System.getenv("CURSEFORGE_TOKEN") != null
addCurseForgeRelation(parts[0], parts[1])
}
}
+ if (usesMixins.toBoolean()) {
+ addCurseForgeRelation("requiredDependency", "gtnhmixins")
+ }
tasks.curseforge.dependsOn(build)
tasks.publish.dependsOn(tasks.curseforge)
}