From 341be14e1f0417a616b9055696f66a755de211bc Mon Sep 17 00:00:00 2001 From: William Date: Mon, 17 Jun 2024 00:43:04 +0100 Subject: [PATCH] build: fixup fabric build, publish as a mod --- fabric-1.20.1/build.gradle | 2 +- .../src/main/resources/fabric.mod.json | 27 +++++++++++++++++++ fabric-1.20.6/build.gradle | 2 +- .../src/main/resources/fabric.mod.json | 27 +++++++++++++++++++ gradle.properties | 2 +- 5 files changed, 57 insertions(+), 3 deletions(-) create mode 100644 fabric-1.20.1/src/main/resources/fabric.mod.json create mode 100644 fabric-1.20.6/src/main/resources/fabric.mod.json diff --git a/fabric-1.20.1/build.gradle b/fabric-1.20.1/build.gradle index d058d99..993f765 100644 --- a/fabric-1.20.1/build.gradle +++ b/fabric-1.20.1/build.gradle @@ -5,7 +5,7 @@ plugins { } dependencies { - api project(path: ':common') + shadow project(path: ':common') minecraft 'com.mojang:minecraft:1.20.1' mappings 'net.fabricmc:yarn:1.20.1+build.10:v2' diff --git a/fabric-1.20.1/src/main/resources/fabric.mod.json b/fabric-1.20.1/src/main/resources/fabric.mod.json new file mode 100644 index 0000000..e497c99 --- /dev/null +++ b/fabric-1.20.1/src/main/resources/fabric.mod.json @@ -0,0 +1,27 @@ +{ + "schemaVersion": 1, + "id": "uniform", + "version": "${project.version}", + "name": "uniform", + "authors": [ + "William278", + "Tofaa2" + ], + "contact": { + "homepage": "https://william278.net/project/uniform", + "issues": "https://github.com/WiIIiam278/Uniform/issues", + "sources": "https://github.com/WiIIiam278/Uniform" + }, + "license": "GPL-3.0", + "custom": { + "modmenu:api": true, + "modmenu": { + "badges": [ + "library" + ] + } + }, + "depends": { + "fabric-api": "*" + } +} \ No newline at end of file diff --git a/fabric-1.20.6/build.gradle b/fabric-1.20.6/build.gradle index 139a2eb..dbcdb99 100644 --- a/fabric-1.20.6/build.gradle +++ b/fabric-1.20.6/build.gradle @@ -5,7 +5,7 @@ plugins { } dependencies { - api project(path: ':common') + shadow project(path: ':common') minecraft 'com.mojang:minecraft:1.20.6' mappings 'net.fabricmc:yarn:1.20.6+build.3:v2' diff --git a/fabric-1.20.6/src/main/resources/fabric.mod.json b/fabric-1.20.6/src/main/resources/fabric.mod.json new file mode 100644 index 0000000..e497c99 --- /dev/null +++ b/fabric-1.20.6/src/main/resources/fabric.mod.json @@ -0,0 +1,27 @@ +{ + "schemaVersion": 1, + "id": "uniform", + "version": "${project.version}", + "name": "uniform", + "authors": [ + "William278", + "Tofaa2" + ], + "contact": { + "homepage": "https://william278.net/project/uniform", + "issues": "https://github.com/WiIIiam278/Uniform/issues", + "sources": "https://github.com/WiIIiam278/Uniform" + }, + "license": "GPL-3.0", + "custom": { + "modmenu:api": true, + "modmenu": { + "badges": [ + "library" + ] + } + }, + "depends": { + "fabric-api": "*" + } +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index d5fe0c8..6d19082 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,6 +3,6 @@ javaVersion=17 org.gradle.jvmargs='-Dfile.encoding=UTF-8' org.gradle.daemon=true -library_version=1.0.5 +library_version=1.0.6 library_archive=uniform library_description=Cross-platform wrapper for making Brigadier commands, based on BrigadierWrapper by Tofaa2, itself inspired by emortalmcs command system. \ No newline at end of file