[CHORE] Fix dependencies and bump version

This commit is contained in:
2024-01-01 23:40:13 +02:00
parent 6fc9a16ded
commit 98d3a60bc8
5 changed files with 11 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ archivesBaseName = "${mod_name.replace(" ", "")}-Common-${minecraft_version}"
dependencies { dependencies {
implementation "com.hypherionmc:rpcsdk:1.0" implementation "com.hypherionmc:rpcsdk:1.0"
implementation("me.hypherionmc.sdlink:mcdiscordformatter-1.20.3:2.0.0")
} }
shadowJar { shadowJar {
@@ -9,8 +10,10 @@ shadowJar {
dependencies { dependencies {
include(dependency("me.hypherionmc.moon-config:core:${moon_config}")) include(dependency("me.hypherionmc.moon-config:core:${moon_config}"))
include(dependency("me.hypherionmc.moon-config:toml:${moon_config}")) include(dependency("me.hypherionmc.moon-config:toml:${moon_config}"))
include(dependency("me.hypherionmc.sdlink:mcdiscordformatter-1.20.3:2.0.0"))
relocate 'me.hypherionmc.moonconfig', 'shadow.hypherionmc.moonconfig' relocate 'me.hypherionmc.moonconfig', 'shadow.hypherionmc.moonconfig'
relocate 'me.hypherionmc.mcdiscordformatter', 'shadow.hypherionmc.mcdiscordformatter'
} }
setArchiveClassifier("dev") setArchiveClassifier("dev")
} }

View File

@@ -7,6 +7,7 @@ dependencies {
shade "me.hypherionmc.moon-config:core:${moon_config}" shade "me.hypherionmc.moon-config:core:${moon_config}"
shade "me.hypherionmc.moon-config:toml:${moon_config}" shade "me.hypherionmc.moon-config:toml:${moon_config}"
shade "com.hypherionmc:rpcsdk:1.0" shade "com.hypherionmc:rpcsdk:1.0"
shade ("me.hypherionmc.sdlink:mcdiscordformatter-1.20.3:2.0.0")
modImplementation("com.terraformersmc:modmenu:${mod_menu_version}") { modImplementation("com.terraformersmc:modmenu:${mod_menu_version}") {
exclude(group: "net.fabricmc.fabric-api") exclude(group: "net.fabricmc.fabric-api")
@@ -22,6 +23,7 @@ shadowJar {
dependencies { dependencies {
relocate 'me.hypherionmc.moonconfig', 'shadow.hypherionmc.moonconfig' relocate 'me.hypherionmc.moonconfig', 'shadow.hypherionmc.moonconfig'
relocate 'me.hypherionmc.mcdiscordformatter', 'shadow.hypherionmc.mcdiscordformatter'
} }
setArchiveClassifier('dev-shadow') setArchiveClassifier('dev-shadow')

View File

@@ -5,6 +5,7 @@ dependencies {
shade "me.hypherionmc.moon-config:core:${moon_config}" shade "me.hypherionmc.moon-config:core:${moon_config}"
shade "me.hypherionmc.moon-config:toml:${moon_config}" shade "me.hypherionmc.moon-config:toml:${moon_config}"
shade "com.hypherionmc:rpcsdk:1.0" shade "com.hypherionmc:rpcsdk:1.0"
shade ("me.hypherionmc.sdlink:mcdiscordformatter-1.20.3:2.0.0")
// Do not edit or remove // Do not edit or remove
implementation project(":Common") implementation project(":Common")
@@ -16,6 +17,7 @@ shadowJar {
dependencies { dependencies {
relocate 'me.hypherionmc.moonconfig', 'shadow.hypherionmc.moonconfig' relocate 'me.hypherionmc.moonconfig', 'shadow.hypherionmc.moonconfig'
relocate 'me.hypherionmc.mcdiscordformatter', 'shadow.hypherionmc.mcdiscordformatter'
} }
setArchiveClassifier('dev-shadow') setArchiveClassifier('dev-shadow')

View File

@@ -5,6 +5,7 @@ dependencies {
shade "me.hypherionmc.moon-config:core:${moon_config}" shade "me.hypherionmc.moon-config:core:${moon_config}"
shade "me.hypherionmc.moon-config:toml:${moon_config}" shade "me.hypherionmc.moon-config:toml:${moon_config}"
shade "com.hypherionmc:rpcsdk:1.0" shade "com.hypherionmc:rpcsdk:1.0"
shade ("me.hypherionmc.sdlink:mcdiscordformatter-1.20.3:2.0.0")
// Do not edit or remove // Do not edit or remove
implementation project(":Common") implementation project(":Common")
@@ -16,6 +17,7 @@ shadowJar {
dependencies { dependencies {
relocate 'me.hypherionmc.moonconfig', 'shadow.hypherionmc.moonconfig' relocate 'me.hypherionmc.moonconfig', 'shadow.hypherionmc.moonconfig'
relocate 'me.hypherionmc.mcdiscordformatter', 'shadow.hypherionmc.mcdiscordformatter'
} }
setArchiveClassifier('dev-shadow') setArchiveClassifier('dev-shadow')

View File

@@ -1,7 +1,7 @@
#Project #Project
version_major=1 version_major=1
version_minor=0 version_minor=1
version_patch=3 version_patch=0
project_group=com.hypherionmc.craterlib project_group=com.hypherionmc.craterlib
#Mod #Mod
mod_author=HypherionSA mod_author=HypherionSA