diff options
author | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-03-08 10:11:44 +0200 |
---|---|---|
committer | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-03-08 10:11:44 +0200 |
commit | c6374684225c3f4552479e3116ac9a0cc16f4009 (patch) | |
tree | 9b3047aa9d3bc538107569d42d796082eac89641 | |
parent | cdb8f5981f418cae946a3c3fd60c5891ed3f323c (diff) | |
download | LibGui-c6374684225c3f4552479e3116ac9a0cc16f4009.tar.gz LibGui-c6374684225c3f4552479e3116ac9a0cc16f4009.tar.bz2 LibGui-c6374684225c3f4552479e3116ac9a0cc16f4009.zip |
Add game version to mod version, depend on MC 1.15.2
-rw-r--r-- | build.gradle | 2 | ||||
-rw-r--r-- | gradle.properties | 2 | ||||
-rw-r--r-- | src/main/resources/fabric.mod.json | 59 |
3 files changed, 32 insertions, 31 deletions
diff --git a/build.gradle b/build.gradle index 1bd45f8..790f687 100644 --- a/build.gradle +++ b/build.gradle @@ -39,7 +39,7 @@ if(rootProject.file('private.gradle').exists()) { //Publishing details } archivesBaseName = project.archives_base_name -version = project.mod_version +version = "$project.mod_version+$project.minecraft_version" group = project.maven_group minecraft { diff --git a/gradle.properties b/gradle.properties index 7915499..684f02c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G loader_version=0.7.5+build.178 # Mod Properties - mod_version = 1.6.0 + mod_version = 1.7.0 maven_group = io.github.cottonmc archives_base_name = LibGui diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 1fccb86..b2cbbf1 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,35 +1,36 @@ { - "schemaVersion": 1, - "id": "libgui", - "version": "${version}", + "schemaVersion": 1, + "id": "libgui", + "version": "${version}", - "name": "LibGui", - "description": "Easy grid-based GUIs for Fabric", - "authors": [ - "Falkreon" - ], - "contact": { - "sources": "https://github.com/CottonMC/LibGUI" - }, + "name": "LibGui", + "description": "Easy grid-based GUIs for Fabric", + "authors": [ + "Falkreon" + ], + "contact": { + "sources": "https://github.com/CottonMC/LibGUI" + }, - "license": "MIT", - "icon": "assets/libgui/icon.png", + "license": "MIT", + "icon": "assets/libgui/icon.png", - "environment": "*", - "entrypoints": { - "client": [ "io.github.cottonmc.cotton.gui.client.LibGuiClient" ], - "modmenu": [ "io.github.cottonmc.cotton.gui.client.modmenu.ModMenuSupport" ] - }, - "depends": { - "fabricloader": ">=0.4.0", - "fabric": "*" - }, - "suggests": { - "flamingo": "*" - }, + "environment": "*", + "entrypoints": { + "client": ["io.github.cottonmc.cotton.gui.client.LibGuiClient"], + "modmenu": ["io.github.cottonmc.cotton.gui.client.modmenu.ModMenuSupport"] + }, + "depends": { + "fabricloader": ">=0.4.0", + "fabric": "*", + "minecraft": "=1.15.2" + }, + "suggests": { + "flamingo": "*" + }, - "custom": { - "modmenu:api": true, - "modmenu:clientsideOnly": false - } + "custom": { + "modmenu:api": true, + "modmenu:clientsideOnly": false + } } |