Updated dependencies
Added dependencies check for forge and fabric Added update check for forge and fabric TO-DO add the updateChecker.json GitHub link to forge entry point
This commit is contained in:
@@ -26,8 +26,8 @@ dependencies {
|
|||||||
// Remove the next line if you don't want to depend on the API
|
// Remove the next line if you don't want to depend on the API
|
||||||
modApi "dev.architectury:architectury-fabric:${rootProject.architectury_version}"
|
modApi "dev.architectury:architectury-fabric:${rootProject.architectury_version}"
|
||||||
|
|
||||||
modApi "me.shedaniel.cloth:cloth-config-fabric:11.0.99"
|
modApi "me.shedaniel.cloth:cloth-config-fabric:11.1.106"
|
||||||
modApi "com.terraformersmc:modmenu:7.0.1"
|
modApi "com.terraformersmc:modmenu:7.1.0"
|
||||||
|
|
||||||
common(project(path: ":common", configuration: "namedElements")) { transitive false }
|
common(project(path: ":common", configuration: "namedElements")) { transitive false }
|
||||||
shadowCommon(project(path: ":common", configuration: "transformProductionFabric")) { transitive false }
|
shadowCommon(project(path: ":common", configuration: "transformProductionFabric")) { transitive false }
|
||||||
|
|||||||
@@ -6,7 +6,10 @@
|
|||||||
"name": "speedometer",
|
"name": "speedometer",
|
||||||
"description": "just displaying your speed",
|
"description": "just displaying your speed",
|
||||||
"authors": ["Allen"],
|
"authors": ["Allen"],
|
||||||
"contact": {},
|
"contact": {
|
||||||
|
"sources": "https://github.com/zaze06/Speedometer",
|
||||||
|
"issues": "https://github.com/zaze06/Speedometer/issues"
|
||||||
|
},
|
||||||
|
|
||||||
"license": "All Rights Reserved",
|
"license": "All Rights Reserved",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
@@ -18,6 +21,8 @@
|
|||||||
},
|
},
|
||||||
"depends": {
|
"depends": {
|
||||||
"fabricloader": ">=0.14.21",
|
"fabricloader": ">=0.14.21",
|
||||||
"minecraft": ">=1.20"
|
"minecraft": ">=1.20",
|
||||||
|
"cloth-config": ">=11.1.106",
|
||||||
|
"architectury": ">= 9.1.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ dependencies {
|
|||||||
// Remove the next line if you don't want to depend on the API
|
// Remove the next line if you don't want to depend on the API
|
||||||
modApi "dev.architectury:architectury-forge:${rootProject.architectury_version}"
|
modApi "dev.architectury:architectury-forge:${rootProject.architectury_version}"
|
||||||
|
|
||||||
modApi "me.shedaniel.cloth:cloth-config-forge:11.0.99"
|
modApi "me.shedaniel.cloth:cloth-config-forge:11.1.106"
|
||||||
|
|
||||||
common(project(path: ":common", configuration: "namedElements")) { transitive false }
|
common(project(path: ":common", configuration: "namedElements")) { transitive false }
|
||||||
shadowCommon(project(path: ":common", configuration: "transformProductionForge")) { transitive = false }
|
shadowCommon(project(path: ":common", configuration: "transformProductionForge")) { transitive = false }
|
||||||
|
|||||||
@@ -64,3 +64,15 @@ just displaying your speed
|
|||||||
versionRange="[1.20,1.21)"
|
versionRange="[1.20,1.21)"
|
||||||
ordering="NONE"
|
ordering="NONE"
|
||||||
side="BOTH"
|
side="BOTH"
|
||||||
|
[[dependencies.speedometer]]
|
||||||
|
modId="architectury"
|
||||||
|
mandatory=true
|
||||||
|
versionRange="[9.1.10,)"
|
||||||
|
ordering="NONE"
|
||||||
|
side="CLIENT"
|
||||||
|
[[dependencies.speedometer]]
|
||||||
|
modId="cloth_config"
|
||||||
|
mandatory=true
|
||||||
|
versionRange="[11.1.106,)"
|
||||||
|
ordering="NONE"
|
||||||
|
side="CLIENT"
|
||||||
24
forge/src/main/resources/updateChecker.json
Normal file
24
forge/src/main/resources/updateChecker.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"homepage": "https://modrinth.com/mod/speedometer/versions",
|
||||||
|
"1.20.1": {
|
||||||
|
"1.0": "First version",
|
||||||
|
"2.0": "Made the speedometer text movable, added debug data display, added visual speedometer",
|
||||||
|
"3.0": "Added size setting for visual speedometer, changed how the visual speedometer location is set",
|
||||||
|
"3.1": "Fixed error in language file",
|
||||||
|
"3.2": "Correct checker for Client or Server environment, updated dependencies, added dependency check in mod data file"
|
||||||
|
},
|
||||||
|
"1.20": {
|
||||||
|
"1.0": "First version",
|
||||||
|
"2.0": "Made the speedometer text movable, added debug data display, added visual speedometer",
|
||||||
|
"3.0": "Added size setting for visual speedometer, changed how the visual speedometer location is set",
|
||||||
|
"3.1": "Fixed error in language file",
|
||||||
|
"3.2": "Correct checker for Client or Server environment, updated dependencies, added dependency check in mod data file"
|
||||||
|
},
|
||||||
|
"promos": {
|
||||||
|
"1.20.1-latest": "3.2",
|
||||||
|
"1.20.1-recommended": "3.1",
|
||||||
|
|
||||||
|
"1.20-latest": "3.2",
|
||||||
|
"1.20-recommended": "3.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -6,7 +6,7 @@ archives_base_name=speedometer
|
|||||||
mod_version=3.2
|
mod_version=3.2
|
||||||
maven_group=me.zacharias
|
maven_group=me.zacharias
|
||||||
|
|
||||||
architectury_version=9.0.8
|
architectury_version=9.1.10
|
||||||
|
|
||||||
fabric_loader_version=0.14.21
|
fabric_loader_version=0.14.21
|
||||||
fabric_api_version=0.84.0+1.20.1
|
fabric_api_version=0.84.0+1.20.1
|
||||||
|
|||||||
Reference in New Issue
Block a user