spring_reference/VIII. Build tool plugins/59.8.1. Configuration optio...

13 lines
669 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.

### 59.8.1. 配置选项
可用的配置选项如下:
|名称|描述|
|-------|:--------|
|mainClass|可执行jar运行的main类|
|providedConfiguration|provided配置的名称默认为providedRuntime|
|backupSource|在重新打包之前原先的存档是否备份默认为true|
|customConfiguration|自定义配置的名称|
|layout|存档类型,对应于内部依赖是如何制定的(默认基于存档类型进行推测)|
|requiresUnpack|一个依赖列表(格式为"groupId:artifactId"为了运行它们需要从fat jars中解压出来。所有节点被打包进胖jar但运行的时候它们将被自动解压|