We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f454053 commit c1c97a2Copy full SHA for c1c97a2
scripts/Wrapper.groovy
@@ -57,6 +57,9 @@ target ('default': "Installs the Grails wrapper") {
57
new File("${grailsHome}/lib/org.springsource.springloaded/springloaded-core/jars/").eachFileMatch( groovy.io.FileType.FILES, { it ==~ /springloaded-core-.*/ }) {
58
springloadedFiles << it
59
}
60
+
61
+ springloadedFiles = springloadedFiles.findAll { !it.name.contains('sources') && !it.name.contains('sources')}
62
63
if (springloadedFiles.size() != 1) {
64
if (springloadedFiles.size() == 0) {
65
event("StatusError", ["An error occurred locating the springloaded-core jar file"])
0 commit comments