Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix failing functional test

  • Loading branch information...
commit 53fc75922c3305f20eb21e97ba13c5440e00a251 1 parent 58351ac
@graemerocher graemerocher authored
View
3  grails-core/src/main/groovy/org/codehaus/groovy/grails/plugins/publishing/PluginDescriptorGenerator.groovy
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.