Skip to content

Commit

Permalink
[build] fix for issue with “populateDependencies” not working with a …
Browse files Browse the repository at this point in the history
…clean gradle cache.
  • Loading branch information
ldaley committed Feb 7, 2012
1 parent d520ecc commit 6ace0eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gradle/assemble.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ task populateDependencies(type: Sync) {
configuration.resolvedConfiguration.resolvedArtifacts.each { artifact ->
def dependency = artifact.moduleVersion.id

// Force the download of the binary artifact
// Gradle 1.0-milestone-7 will get the file until this is called with the way
// we are using the API.
artifact.file

if (!projectNames.contains(dependency.name)) {
def base = "${grailsRepoCacheHash}/${dependency.group}/${dependency.name}/${dependency.version}"
include "${base}/*-${dependency.version}.*"
Expand Down

0 comments on commit 6ace0eb

Please sign in to comment.