Skip to content

Commit c0b6ac7

Browse files
committed
chore: couple of updates to fabric.mod.json
1 parent 4e1b4b6 commit c0b6ac7

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

fabric/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ processResources {
3939
inputs.property "version", project.version
4040

4141
filesMatching("fabric.mod.json") {
42-
expand "version": project.version
42+
expand "version": project.version,
43+
"archversion": project.architectury_version,
44+
"fabricapiversion": project.fabric_api_version,
45+
"mcversion": project.minecraft_version,
46+
"ftblibraryversion": project.ftb_library_version.replaceAll("-SNAPSHOT", "")
4347
}
4448
}
4549

fabric/src/main/resources/fabric.mod.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"name": "FTB Teams",
66
"description": "FTB Teams adds ability to create your own teams that can be used for quests etc.",
77
"authors": [
8-
"LatvianModder"
8+
"FTB Team"
99
],
1010
"contact": {
1111
"sources": "https://github.com/FTBTeam/FTB-Teams",
12-
"issues": "https://github.com/FTBTeam/FTB-Teams/issues"
12+
"issues": "https://go.ftb.team/support-mod-issues"
1313
},
1414
"license": "All Rights Reserved",
1515
"entrypoints": {
@@ -18,9 +18,9 @@
1818
]
1919
},
2020
"depends": {
21-
"fabric": "*",
22-
"minecraft": "~1.20",
23-
"architectury": ">=5.5.17",
24-
"ftblibrary": ">=1902.3.10-build.159"
21+
"fabric": ">=${fabricapiversion}",
22+
"minecraft": "~${mcversion}",
23+
"architectury": ">=${archversion}",
24+
"ftblibrary": ">=${ftblibraryversion}"
2525
}
2626
}

0 commit comments

Comments
 (0)