| 程序包 | 说明 |
|---|---|
| org.noear.solon.maven.plugin.tools.tool |
| 限定符和类型 | 字段和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
LibraryScope |
Library.getScope()
Return the scope of the library.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
Layout.getLibraryDestination(String libraryName,
LibraryScope scope) |
String |
Layouts.War.getLibraryDestination(String libraryName,
LibraryScope scope) |
String |
Layouts.Jar.getLibraryDestination(String libraryName,
LibraryScope scope) |
String |
Layouts.Module.getLibraryDestination(String libraryName,
LibraryScope scope)
已过时。
|
| 构造器和说明 |
|---|
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. |
Copyright © 2023. All rights reserved.