Skip to content

Commit 01ec7e4

Browse files
committed
Use mod properties in neoforge.mods.toml where possible.
1 parent f119b8b commit 01ec7e4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
2-
id 'org.moddingx.modgradle.meta' version '5.0.1'
3-
id 'org.moddingx.modgradle.javadoc' version '5.0.1'
2+
id 'org.moddingx.modgradle.meta' version '5.0.2'
3+
id 'org.moddingx.modgradle.javadoc' version '5.0.2'
44
}
55

66
configurations {

src/main/resources/META-INF/neoforge.mods.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
modLoader="javafml"
22
loaderVersion="[4,)"
33
license="APACHE-2.0"
4-
issueTrackerURL="https://github.com/ModdingX/LibX/issues"
4+
issueTrackerURL="${mod.issue_url}"
55

66
[[mods]]
7-
modId="libx"
7+
modId="${mod.modid}"
88
version="${mod.version}"
9-
displayName="LibX"
10-
displayURL="https://www.curseforge.com/minecraft/mc-mods/libx"
9+
displayName="${mod.name}"
10+
displayURL="${mod.source_url}"
1111
updateJSONURL="https://assets.melanx.de/updates/libx.json"
1212
authors="ModdingX"
1313
description='''

0 commit comments

Comments
 (0)