aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle2
-rw-r--r--gradle.properties2
-rw-r--r--src/main/resources/fabric.mod.json59
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
+ }
}