Permalink
Browse files

fix failing functional test

  • Loading branch information...
1 parent ba24018 commit 88394f4c98ec578004159adb9f2f01d9d07eff44 @graemerocher graemerocher committed Sep 11, 2012
@@ -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

0 comments on commit 88394f4

Please sign in to comment.