From ae176e6c1f9a6ae4115a1441ec500d72037d3817 Mon Sep 17 00:00:00 2001 From: cpw Date: Sun, 27 Jan 2019 11:37:56 -0500 Subject: Use recommended approach to applying version data to mdk. Signed-off-by: cpw --- src/main/resources/META-INF/mods.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 90970be..3c4cc87 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -24,7 +24,7 @@ authors="Love, Cheese and small house plants" #optional # The modid of the mod modId="examplemod" #mandatory # The version number of the mod - there's a few well known ${} variables useable here or just hardcode it -version="1.0" #mandatory +version="${file.jarVersion}" #mandatory # A display name for the mod displayName="Example Mod" #mandatory # The description text for the mod (multi line!) (#mandatory) @@ -35,7 +35,6 @@ Have some lorem ipsum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis lacinia magna. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed sagittis luctus odio eu tempus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque volutpat ligula eget lacus auctor sagittis. In hac habitasse platea dictumst. Nunc gravida elit vitae sem vehicula efficitur. Donec mattis ipsum et arcu lobortis, eleifend sagittis sem rutrum. Cras pharetra quam eget posuere fermentum. Sed id tincidunt justo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. ''' - # A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional. [[dependencies.examplemod]] #optional # the modid of the dependency -- cgit v1.2.3