diff --git a/build.gradle b/build.gradle index 3817a21..58d6230 100644 --- a/build.gradle +++ b/build.gradle @@ -10,6 +10,7 @@ plugins { group 'com.github.creeper123123321.viafabric' version '0.1.0-SNAPSHOT+' + gitVersion() archivesBaseName = 'ViaFabric' +description = 'Clientside and serverside ViaVersion for Fabric' sourceCompatibility = 1.8 targetCompatibility = 1.8 @@ -25,7 +26,8 @@ repositories { processResources { filter ReplaceTokens, tokens: [ - "version": project.property("version") + "version": project.property('version'), + "description": project.property('description') ] } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index fd22956..3e414d5 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -3,11 +3,25 @@ "name": "ViaFabric", "side": "universal", "version": "@version@", + "description": "@description@", + "license": "MIT", + "links": { + "homepage": "https://github.com/ViaVersion/ViaFabric", + "issues": "https://github.com/ViaVersion/ViaFabric/issues", + "sources": "https://github.com/ViaVersion/ViaFabric" + }, + "authors": [ + "creeper123123321" + ], "initializers": [ "com.github.creeper123123321.viafabric.ViaFabric" ], "requires": { }, + "recommended": { + "fabric": "*", + "clientcommands": "*" + }, "mixins": { "common": "mixins.viafabric.common.json", "client": "mixins.viafabric.client.json"