Spring Boot Gradle Plugin: Difference between revisions
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
* run Spring Boot applications | * run Spring Boot applications | ||
* use the dependency management provided by spring-boot-dependencies. | * use the dependency management provided by spring-boot-dependencies. | ||
=Packaging= | |||
Executable JARs are created by the bootJar task. The task is automatically created with the [[Gradle_Java_Plugin#Overview|java plugin]] is applied. It is an instance of [https://docs.spring.io/spring-boot/docs/2.1.0.RELEASE/gradle-plugin/api/org/springframework/boot/gradle/tasks/bundling/BootJar.html BootJar]. |
Revision as of 23:17, 31 October 2018
External
Internal
Overview
apply plugin: 'org.springframework.boot'
The plugin is responsible with:
- packaging executable jar or war archives
- run Spring Boot applications
- use the dependency management provided by spring-boot-dependencies.
Packaging
Executable JARs are created by the bootJar task. The task is automatically created with the java plugin is applied. It is an instance of BootJar.