Skip to content

Commit adaa5e8

Browse files
committed
Ensure there is a line break between conctenated build.gradle files
1 parent 79b1a23 commit adaa5e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grails-shell/src/main/groovy/org/grails/cli/profile/commands/CreateAppCommand.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,12 +600,12 @@ class CreateAppCommand extends ArgumentCompletingCommand implements ProfileRepos
600600
} else if (buildMergeProfileNames.contains(participatingProfile.name)) {
601601
def concatFile = "${destDir}/concat.gradle"
602602
ant.move(file:destFile, tofile: concatFile)
603-
ant.concat destfile: destFile, {
603+
ant.concat([destfile: destFile, fixlastline: true], {
604604
path {
605605
pathelement location: concatFile
606606
pathelement location: srcFile
607607
}
608-
}
608+
})
609609
ant.delete(file: concatFile, failonerror: false)
610610
}
611611
}

0 commit comments

Comments
 (0)