Contents
Class Layers
java.lang.Object
org.springframework.boot.maven.Layers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe location of the layers configuration file.boolean
Whether alayers.idx
file should be added to the jar.void
setConfiguration
(File configuration)
-
Constructor Details
-
Method Details
-
isEnabled
public boolean isEnabled()Whether alayers.idx
file should be added to the jar.- Returns:
- true if a
layers.idx
file should be added.
-
getConfiguration
The location of the layers configuration file. If no file is provided, a default configuration is used with four layers:application
,resources
,snapshot-dependencies
anddependencies
.- Returns:
- the layers configuration file
-
setConfiguration
-