Merge branch 'BuildCraft-5.1.x' into NextGen

Conflicts:
	build.gradle
This commit is contained in:
SpaceToad 2014-04-08 14:55:21 +02:00
commit e0c11f248b

View file

@ -21,14 +21,6 @@ buildscript {
apply plugin: 'forge' // adds the forge dependency
apply plugin: 'maven' // for uploading to a maven repo
// grab buildNumber
ext.buildnumber = 0 // this will be referenced as simply project.buildnumber from now on.
if (System.getenv().BUILD_NUMBER)
project.buildnumber = System.getenv().BUILD_NUMBER
else
logger.lifecycle "SETTING BUILDNUMBER TO 0"
version = "6.0.5"
group= "com.mod-buildcraft"
archivesBaseName = "buildcraft" // the name that all artifacts will use as a base. artifacts names follow this pattern: [baseName]-[appendix]-[version]-[classifier].[extension]
@ -41,7 +33,6 @@ minecraft {
// replacing stuff in the source
replace '@VERSION@', project.version
replace '@MC_VERSION@', version
replace '@BUILD_NUMBER@', project.buildnumber
}
// configure the source folders
@ -70,7 +61,7 @@ processResources
// replace version and mcversion
// ${version} and ${mcversion} are the exact strings being replaced
expand 'version':project.version, 'mcversion':project.minecraft.version, 'buildnumber':project.buildnumber
expand 'version':project.version, 'mcversion':project.minecraft.version
}
// copy everything else, that's not the mcmod.info
@ -83,9 +74,6 @@ processResources
// extra jar section
// -------------------
// for the benefit of the jars, we will now now add the buildnumber to the jars
project.version += '.' + project.buildnumber
// add a source jar
task sourceJar(type: Jar) {
from sourceSets.main.allSource