Fixed missing property in BuildScriptBase.
This commit is contained in:
parent
46f5395247
commit
2cbfb37654
@ -18,7 +18,7 @@ abstract class BuildScriptBase extends Script {
|
|||||||
) {
|
) {
|
||||||
def buildClosureDelegate = new BuildClosureDelegate().tap {
|
def buildClosureDelegate = new BuildClosureDelegate().tap {
|
||||||
// Default values for Build properties
|
// Default values for Build properties
|
||||||
name = 'build' + currentBuildNumber
|
name = 'build' + this.currentBuildNumber
|
||||||
config = new Config(defaultConfig)
|
config = new Config(defaultConfig)
|
||||||
globals = new LinkedHashMap(defaultGlobals)
|
globals = new LinkedHashMap(defaultGlobals)
|
||||||
outDir = new File(name)
|
outDir = new File(name)
|
||||||
@ -27,7 +27,7 @@ abstract class BuildScriptBase extends Script {
|
|||||||
buildClosure.setResolveStrategy(Closure.DELEGATE_FIRST)
|
buildClosure.setResolveStrategy(Closure.DELEGATE_FIRST)
|
||||||
buildClosure.run()
|
buildClosure.run()
|
||||||
this.builds << new Build(buildClosureDelegate.name, buildClosureDelegate.config, buildClosureDelegate.globals, buildClosureDelegate.outDir)
|
this.builds << new Build(buildClosureDelegate.name, buildClosureDelegate.config, buildClosureDelegate.globals, buildClosureDelegate.outDir)
|
||||||
currentBuildNumber++
|
this.currentBuildNumber++
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user