fixed buildnumber mistake, accounted for change in localization repo
This commit is contained in:
parent
983cd6fba7
commit
a665980842
1 changed files with 3 additions and 6 deletions
|
@ -24,7 +24,7 @@ apply plugin: 'maven' // for uploading to a mnven repo
|
|||
// grab buildNumber
|
||||
ext.buildnumber = 0 // this will be referenced as simply project.buildnumber from now on.
|
||||
|
||||
if (System.env.hasProperty('buildnumber'))
|
||||
if (System.env.hasProperty('BUILD_NUMBER'))
|
||||
project.buildnumber = System.getenv().BUILD_NUMBER
|
||||
else
|
||||
logger.lifecycle "SETTING BUILDNUMBER TO 0"
|
||||
|
@ -54,6 +54,8 @@ sourceSets {
|
|||
}
|
||||
resources {
|
||||
srcDir 'buildcraft_resources'
|
||||
srcDir '../BuildCraft-Localization'
|
||||
exclude '**/.md' // exclude readme from localization repo
|
||||
// exclude 'some exclusion'
|
||||
// include 'some inclusion'
|
||||
|
||||
|
@ -76,11 +78,6 @@ processResources
|
|||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'mcmod.info'
|
||||
}
|
||||
|
||||
// the localization repo... this wont crash if the localization folder does not exist
|
||||
from('../BuildCraft-Localization/lang/buildcraft') {
|
||||
into 'build/resources/main/assets/buildcraft/lang'
|
||||
}
|
||||
}
|
||||
|
||||
// --------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue