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 dc30aa8 commit d0ed9b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -77,9 +77,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 d0ed9b0

Please sign in to comment.