Start building against Spring Framework 6.1.0 snapshots

See gh-37231
This commit is contained in:
Andy Wilkinson 2023-09-07 10:17:42 +01:00
parent 4b0c8eba4c
commit 02fd570b7d
2 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,7 @@ org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
kotlinVersion=1.9.10
nativeBuildToolsVersion=0.9.24
springFrameworkVersion=6.1.0-M4
springFrameworkVersion=6.1.0-SNAPSHOT
tomcatVersion=10.1.12
kotlin.stdlib.default.dependency=false

View File

@ -49,8 +49,10 @@ class ConfigDataLocationRuntimeHints implements RuntimeHintsRegistrar {
logger.debug("Registering application configuration hints for " + fileNames + "(" + extensions + ") at "
+ locations);
}
new FilePatternResourceHintsRegistrar(fileNames, locations, extensions).registerHints(hints.resources(),
classLoader);
FilePatternResourceHintsRegistrar.forClassPathLocations(locations.toArray(new String[0]))
.withFilePrefixes(fileNames.toArray(new String[0]))
.withFileExtensions(extensions.toArray(new String[0]))
.registerHints(hints.resources(), classLoader);
}
/**