From 9f55519528d418b2e3900ab7a0f8e37229aa8bbf Mon Sep 17 00:00:00 2001 From: Abrar Syed Date: Mon, 7 Apr 2014 22:23:36 -0500 Subject: [PATCH 1/2] removed buildNumber from the build.gradle file --- build.gradle | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index 83630748..81db42e4 100755 --- a/build.gradle +++ b/build.gradle @@ -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 = "5.0.4" 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 From 322f3c0eb1694e9f4c3ba2da0c653fc20abb8f92 Mon Sep 17 00:00:00 2001 From: SpaceToad Date: Tue, 8 Apr 2014 14:54:53 +0200 Subject: [PATCH 2/2] fixed version number --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 81db42e4..933438fd 100755 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ buildscript { apply plugin: 'forge' // adds the forge dependency apply plugin: 'maven' // for uploading to a maven repo -version = "5.0.4" +version = "5.1.0" 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]