spring_reference/VIII. Build tool plugins/59.6. Spring Boot plugin co...

9 lines
342 B
Markdown
Raw Permalink 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.6. Spring Boot插件配置
Gradle插件自动扩展你的构建脚本DSL它为脚本添加一个`springBoot`元素以此作为Boot插件的全局配置。你可以像配置其他Gradle扩展那样为`springBoot`设置相应的属性(下面有配置选项列表)。
```gradle
springBoot {
backupSource = false
}
```