Skip to content

Commit 8681838

Browse files
committed
fix for failing tests
1 parent f5e8eee commit 8681838

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/java/grails/util/BuildSettings.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,9 @@ class BuildSettings {
465465

466466
private def loadBuildPropertiesFromClasspath(Properties buildProps) {
467467
InputStream stream = getClass().classLoader.getResourceAsStream("grails.build.properties")
468+
if(stream == null) {
469+
stream = getClass().classLoader.getResourceAsStream("build.properties")
470+
}
468471
if (stream) {
469472
buildProps.load(stream)
470473
}

0 commit comments

Comments
 (0)