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 cd66bcb commit 77a5465
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 @@ -63,9 +63,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 77a5465

Please sign in to comment.