# 69. Spring Boot Gradle插件

Spring Boot Gradle插件为Gradle提供Spring Boot支持。它允许你打包可执行jar或war存档，运行Spring Boot应用，使用`spring-boot-dependencies`提供的依赖管理。需要Gradle 4.0或之后的版本。更多细节请参考插件的文档：

* 参考 ([HTML](https://docs.spring.io/spring-boot/docs/2.0.0.RELEASE/gradle-plugin/reference/html) 与 [PDF](https://docs.spring.io/spring-boot/docs/2.0.0.RELEASE/gradle-plugin/reference/pdf/spring-boot-gradle-plugin-reference.pdf))
* [API](https://docs.spring.io/spring-boot/docs/2.0.0.RELEASE/gradle-plugin/api)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jack80342.gitbook.io/spring-boot/viii.-build-tool-plugins/69.-spring-boot-gradle-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
