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)
Create a new
Library . |
Library(String name,
File file,
LibraryScope scope,
boolean unpackRequired)
Create a new
Library . |
Library(String name,
File file,
LibraryScope scope,
LibraryCoordinates coordinates,
boolean unpackRequired)
Create a new
Library . |
Library(String name,
File file,
LibraryScope scope,
LibraryCoordinates coordinates,
boolean unpackRequired,
boolean local)
Create a new
Library . |