Package | Description |
---|---|
org.springframework.boot.loader.tools |
Tools for generating executable JAR/WAR files.
|
Modifier and Type | Field and Description |
---|---|
static LibraryScope |
LibraryScope.COMPILE
The library is used at compile time and runtime.
|
static LibraryScope |
LibraryScope.CUSTOM
Marker for custom scope when custom configuration is used.
|
static LibraryScope |
LibraryScope.PROVIDED
The library is needed for compile but is usually provided when running.
|
static LibraryScope |
LibraryScope.RUNTIME
The library is used at runtime but not needed for compile.
|
Modifier and Type | Method and Description |
---|---|
LibraryScope |
Library.getScope()
Return the scope of the library.
|
Modifier and Type | Method and Description |
---|---|
String |
Layouts.Jar.getLibraryLocation(String libraryName,
LibraryScope scope) |
String |
Layouts.War.getLibraryLocation(String libraryName,
LibraryScope scope) |
String |
Layout.getLibraryLocation(String libraryName,
LibraryScope scope)
Returns the destination path for a given library.
|
Constructor and Description |
---|
Library(File file,
LibraryScope scope)
Create a new
Library . |
Library(File file,
LibraryScope scope,
boolean unpackRequired)
Deprecated.
since 2.4.8 for removal in 2.6.0 in favor of
Library(String, File, LibraryScope, LibraryCoordinates, boolean, boolean, boolean) |
Library(String name,
File file,
LibraryScope scope,
boolean unpackRequired)
Deprecated.
since 2.4.8 for removal in 2.6.0 in favor of
Library(String, File, LibraryScope, LibraryCoordinates, boolean, boolean, boolean) |
Library(String name,
File file,
LibraryScope scope,
LibraryCoordinates coordinates,
boolean unpackRequired)
Deprecated.
since 2.4.8 for removal in 2.6.0 in favor of
Library(String, File, LibraryScope, LibraryCoordinates, boolean, boolean, boolean) |
Library(String name,
File file,
LibraryScope scope,
LibraryCoordinates coordinates,
boolean unpackRequired,
boolean local)
Deprecated.
since 2.4.8 for removal in 2.6.0 in favor of
Library(String, File, LibraryScope, LibraryCoordinates, boolean, boolean, boolean) |
Library(String name,
File file,
LibraryScope scope,
LibraryCoordinates coordinates,
boolean unpackRequired,
boolean local,
boolean included)
Create a new
Library . |