Fixed mcmod.info stuff not getting replaced, removed the appendix on the file name because it was not needed

This commit is contained in:
modmuss50 2015-07-01 16:53:03 +01:00
parent f81c5c4f8d
commit c836e06678
2 changed files with 5 additions and 7 deletions

View file

@ -114,8 +114,8 @@ processResources
include 'mcmod.info'
// replace version and mcversion
// ${version} are the exact strings being replaced
expand '@MODVERSION@':project.version
// ${version} and ${mcversion} are the exact strings being replaced
expand 'version':project.version, 'mcversion':project.minecraft.version
}
// copy everything else, that's not the mcmod.info
@ -123,15 +123,14 @@ processResources
exclude 'mcmod.info'
}
}
task sourceJar(type: Jar) {
from sourceSets.main.allSource
appendix = 'src'
classifier = 'src'
}
task deobfJar(type: Jar) {
from sourceSets.main.output
appendix = 'dev'
exclude "**/*.psd"
classifier = 'dev'
}
@ -151,9 +150,7 @@ task apiJar(type: Jar) {
from sourceSets.main.output
include 'techreborn/api/**/*'
appendix = 'api'
classifier = "api"
}
apiJar.mustRunAfter deobfJar

View file

@ -3,7 +3,8 @@
"modid": "techreborn",
"name": "TechReborn",
"description": "TechReborn, The Gregtech revival you dream about on a cool mid summer's eve.",
"version": "@MODVERSION@",
"version": "$version",
"mcversion": "$mcversion",
"url": "https://github.com/TechReborn/TechReborn",
"updateUrl": "",
"authorList": [