Rename "classes" to "application" in custom layer configuration
Closes gh-20539
This commit is contained in:
@@ -126,7 +126,7 @@ class BootJarTests extends AbstractBootArchiveTests<BootJar> {
|
||||
configuration.libraries(createLibraryStrategy("my-snapshot-deps", "com.example:*:*.SNAPSHOT"),
|
||||
createLibraryStrategy("my-internal-deps", "com.example:*:*"),
|
||||
createLibraryStrategy("my-deps", "*:*"));
|
||||
configuration.classes(createResourceStrategy("resources", "static/**"),
|
||||
configuration.application(createResourceStrategy("resources", "static/**"),
|
||||
createResourceStrategy("application", "**"));
|
||||
});
|
||||
List<String> entryNames = getEntryNames(jar);
|
||||
|
||||
@@ -12,7 +12,7 @@ bootJar {
|
||||
layerContent("commons-dependencies") { coordinates { include "org.apache.commons:*" } }
|
||||
layerContent("dependencies") { coordinates { include "*:*" } }
|
||||
}
|
||||
classes {
|
||||
application {
|
||||
layerContent("static") {
|
||||
locations {
|
||||
include "META-INF/resources/**", "resources/**"
|
||||
|
||||
Reference in New Issue
Block a user