From 69d68de5c0f9a263bf55a6ad51939cd83de66ae2 Mon Sep 17 00:00:00 2001 From: William Date: Sat, 15 Jun 2024 18:20:30 +0100 Subject: [PATCH] build: adjust Fabric build to append MC version --- build.gradle | 2 +- docs/API.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 2c946fe9..262520fe 100644 --- a/build.gradle +++ b/build.gradle @@ -169,7 +169,7 @@ subprojects { mavenJavaFabric(MavenPublication) { groupId = 'net.william278.husksync' artifactId = 'husksync-fabric' - version = "$rootProject.version" + version = "$rootProject.version+${fabric_minecraft_version}" artifact shadowJar artifact sourcesJar artifact javadocJar diff --git a/docs/API.md b/docs/API.md index e6d3a973..29c8524e 100644 --- a/docs/API.md +++ b/docs/API.md @@ -53,7 +53,7 @@ Add the repository to your `pom.xml` as per below. You can alternatively specify ``` -Add the dependency to your `pom.xml` as per below. Replace `VERSION` with the latest version of HuskSync (without the v): ![Latest version](https://img.shields.io/github/v/tag/WiIIiam278/HuskSync?color=%23282828&label=%20&style=flat-square) +Add the dependency to your `pom.xml` as per below. Replace `VERSION` with the latest version of HuskSync (without the v): ![Latest version](https://img.shields.io/github/v/tag/WiIIiam278/HuskSync?color=%23282828&label=%20&style=flat-square). Note for Fabric you must append the target Minecraft version to the version number (e.g. `3.6.1+1.20.1`). ```xml net.william278.husksync @@ -76,7 +76,7 @@ allprojects { } } ``` -Add the dependency as per below. Replace `VERSION` with the latest version of HuskSync (without the v): ![Latest version](https://img.shields.io/github/v/tag/WiIIiam278/HuskSync?color=%23282828&label=%20&style=flat-square) +Add the dependency as per below. Replace `VERSION` with the latest version of HuskSync (without the v): ![Latest version](https://img.shields.io/github/v/tag/WiIIiam278/HuskSync?color=%23282828&label=%20&style=flat-square). Note for Fabric you must append the target Minecraft version to the version number (e.g. `3.6.1+1.20.1`). ```groovy dependencies {