Skip to content

Commit

Permalink
fix failing functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher committed Sep 11, 2012
1 parent 58351ac commit 53fc759
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ class PluginDescriptorGenerator {
if (pluginProps[p]) "${p}"(pluginProps[p])
}
xml.resources {
File commonResourceBase = filterPluginDir(pluginProps['pluginDir']?.file)
final pluginDir = pluginProps['pluginDir'] instanceof String ? new File(pluginProps['pluginDir']) : pluginProps['pluginDir']?.file
File commonResourceBase = filterPluginDir(pluginDir)

for (r in resourceList) {
def matcher = r.URL.toString() =~ ARTEFACT_PATTERN
Expand Down

0 comments on commit 53fc759

Please sign in to comment.