Be more concise by calling property setters instead of assigning
This commit is contained in:
parent
d3ddbd6343
commit
84b0846517
|
@ -33,7 +33,7 @@ task unpackNodeJSLib(type: Sync, dependsOn: verifyNodeJS) {
|
|||
}
|
||||
|
||||
into temporaryDir
|
||||
includeEmptyDirs = false
|
||||
includeEmptyDirs false
|
||||
}
|
||||
|
||||
sourceSets.main {
|
||||
|
|
|
@ -17,7 +17,7 @@ task unpackAjaxslt(type: Copy, dependsOn: verifyAjaxslt) {
|
|||
from(tarTree(verifyAjaxslt.src)) {
|
||||
eachFile {
|
||||
def newSegments = ['ajaxslt'] + relativePath.segments[1 .. -1] as String[]
|
||||
relativePath = new RelativePath(!directory, newSegments)
|
||||
relativePath new RelativePath(!directory, newSegments)
|
||||
}
|
||||
}
|
||||
into 'examples-src'
|
||||
|
|
|
@ -33,7 +33,7 @@ task extractBcel(type: Copy, dependsOn: verifyBcel) {
|
|||
from(tarTree(verifyBcel.src)) {
|
||||
include 'bcel-5.2/bcel-5.2.jar'
|
||||
eachFile {
|
||||
relativePath = new RelativePath(!directory, relativePath.lastName)
|
||||
relativePath new RelativePath(!directory, relativePath.lastName)
|
||||
}
|
||||
}
|
||||
into projectDir
|
||||
|
|
Loading…
Reference in New Issue