Add a mcmod.info for development purposes.

This commit is contained in:
Ben Spiers 2014-07-07 21:17:34 +01:00
parent df58560729
commit f26c49d6b4
2 changed files with 47 additions and 8 deletions

View file

@ -57,14 +57,6 @@ minecraft {
processResources processResources
{ {
// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod/info'
// replace version and mcversion
expand 'version':project.version, 'mcversion':project.minecraft.version
}
// copy everything else, thats not the mcmod.info // copy everything else, thats not the mcmod.info
from(sourceSets.main.resources.srcDirs) { from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info' exclude 'mcmod.info'

47
src/main/resources/mcmod.info Executable file
View file

@ -0,0 +1,47 @@
[
{
"modid": "Mekanism",
"name": "Mekanism",
"description": "Energy, Armor, Tools, Weapons, Machines, Magic.",
"version": "${version}",
"mcversion": "${mc_version}",
"updateUrl": "",
"authors": [
"aidancbrady"
],
"credits": "Thanks to everyone who has contributed to this ongoing project.",
"logoFile": "logo.png",
"screenshots": [
]
},
{
"modid": "MekanismGenerators",
"name": "MekanismGenerators",
"description": "Generators module of Mekanism.",
"version": "${version}",
"mcversion": "${mc_version}",
"updateUrl": "",
"authors": [
"aidancbrady"
],
"credits": "Thanks to everyone who has contributed to this ongoing project.",
"logoFile": "logo.png",
"screenshots": [
]
},
{
"modid": "MekanismTools",
"name": "MekanismTools",
"description": "Tools module for Mekanism.",
"version": "${version}",
"mcversion": "${mc_version}",
"updateUrl": "",
"authors": [
"aidancbrady"
],
"credits": "Thanks to everyone who has contributed to this ongoing project.",
"logoFile": "logo.png",
"screenshots": [
]
}
]