summaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorAizistral2023-12-08 10:09:24 +0100
committerAizistral2023-12-08 10:09:24 +0100
commite131b93aa51602a3ef8b14bbaef2405fcaf50424 (patch)
tree688193c3b3787fdae7dd8a724c3675c10b12290d /build.gradle
parent14150e4a67caf14cd357e631b19799cdde04cc39 (diff)
Use `project.minecraft_version` for upload compat
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 785acc8..8bb13c3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -152,7 +152,7 @@ curseforge {
changelog = file('docs/CHANGELOG.md')
mainArtifact(remapJar)
- addGameVersion "1.20.3"
+ addGameVersion project.minecraft_version
addGameVersion 'Quilt'
addGameVersion 'Fabric'
addGameVersion 'Java 17'
@@ -185,7 +185,7 @@ modrinth {
versionType = "${version_type}"
changelog = rootProject.file("docs/CHANGELOG.md").text
uploadFile = remapJar
- gameVersions = [ "1.20.3" ]
+ gameVersions = [ project.minecraft_version ]
loaders = ['fabric', 'quilt']
dependencies {