spring_reference/VIII. Build tool plugins/60.2. Nested libraries.md

6 lines
364 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

### 60.2. 内嵌的库
当重新打包一个存档时,你可以使用`org.springframework.boot.loader.tools.Libraries`接口来包含对依赖文件的引用。在这里我们不提供任何该Libraries接口的具体实现因为它们通常跟具体的构建系统相关。
如果你的存档已经包含libraries你可以使用`Libraries.NONE`。