| 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.getLibraryDestination(String libraryName,
                     LibraryScope scope)
Deprecated.  
 | 
String | 
Layouts.War.getLibraryDestination(String libraryName,
                     LibraryScope scope)
Deprecated.  
 | 
String | 
Layout.getLibraryDestination(String libraryName,
                     LibraryScope scope)
Deprecated. 
 
since 2.3.0 in favor of  
Layout.getLibraryLocation(java.lang.String, org.springframework.boot.loader.tools.LibraryScope) | 
String | 
Layouts.Jar.getLibraryLocation(String libraryName,
                  LibraryScope scope)  | 
String | 
Layouts.War.getLibraryLocation(String libraryName,
                  LibraryScope scope)  | 
default 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. |