Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix NPE when running mvn clean

  • Loading branch information...
commit f9b9cc11e452b047256a0339019e9bd5cba00526 1 parent 4fdbb6b
@graemerocher graemerocher authored
View
1  grails-bootstrap/src/main/groovy/grails/util/BuildSettings.groovy
@@ -446,6 +446,7 @@ class BuildSettings extends AbstractBuildSettings {
}()
private List<File> findAndRemovePluginDependencies(String scope, List<File> jarFiles, List<File> scopePluginDependencies) {
+ jarFiles = jarFiles?.findAll { it != null} ?: []
def pluginZips = jarFiles.findAll { it.name.endsWith(".zip") }
for (z in pluginZips) {
if (!pluginDependencies.contains(z)) {
Please sign in to comment.
Something went wrong with that request. Please try again.