Skip to content

Commit

Permalink
ignore springloaded javadoc jar file (if it exists) when generating w…
Browse files Browse the repository at this point in the history
…rapper
  • Loading branch information
Jeff Scott Brown committed Jun 21, 2013
1 parent 954f27a commit fb1fea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Wrapper.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ target ('default': "Installs the Grails wrapper") {
springloadedFiles << it
}

springloadedFiles = springloadedFiles.findAll { !it.name.contains('sources') && !it.name.contains('sources')}
springloadedFiles = springloadedFiles.findAll { !it.name.contains('sources') && !it.name.contains('javadoc')}

if (springloadedFiles.size() != 1) {
if (springloadedFiles.size() == 0) {
Expand Down

0 comments on commit fb1fea0

Please sign in to comment.