Skip to content

Commit

Permalink
Use doLast isntead of left shift to fix warning in gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesde committed Nov 17, 2016
1 parent 0db99b7 commit 5912398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jar {
destinationDir = file(projectDir.absolutePath + '/lib')
baseName = jarBaseName
}
task copyDependencies << {
task copyDependencies { doLast {
copy { from (configurations.runtime - project(':framework').configurations.runtime - project(':framework').jar.archivePath)
into file(projectDir.absolutePath + '/lib') }
}
} }
copyDependencies.dependsOn cleanLib
jar.dependsOn copyDependencies

0 comments on commit 5912398

Please sign in to comment.