Added README
This commit is contained in:
parent
f815b7d712
commit
74d701e63b
1 changed files with 45 additions and 0 deletions
45
README.md
Normal file
45
README.md
Normal file
|
@ -0,0 +1,45 @@
|
|||
# [bld](https://rife2.com/bld) Extension for [Spring Boot](https://spring.io/projects/spring-boot)
|
||||
|
||||
|
||||
[](https://opensource.org/licenses/Apache-2.0)
|
||||
[](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
||||
[](https://rife2.com/bld)
|
||||
[](https://repo.rife2.com/#/releases/com/uwyn/rife2/bld-spring-boot)
|
||||
[](https://repo.rife2.com/#/snapshots/com/uwyn/rife2/bld-spring-boot)
|
||||
[](https://github.com/rife2/bld-spring-boot/actions/workflows/bld.yml)
|
||||
|
||||
To install, please refer to the [extensions documentation](https://github.com/rife2/bld/wiki/Extensions).
|
||||
|
||||
To create a Spring Boot executable Java Archive (JAR) from the current project:
|
||||
|
||||
```java
|
||||
@@BuildCommand(summary = "Creates an executable JAR for the project")
|
||||
public void bootjar() throws Exception {
|
||||
new BootJarOperation()
|
||||
.fromProject(this)
|
||||
.execute();
|
||||
}
|
||||
```
|
||||
|
||||
```text
|
||||
./bld compile bootjar
|
||||
```
|
||||
|
||||
To create a Spring Boot executable Web Archive (WAR) from the current project:
|
||||
|
||||
```java
|
||||
@BuildCommand(summary = "Create an executable WAR for the project")
|
||||
public void bootwar() throws Exception {
|
||||
new BootWarOperation()
|
||||
.fromProject(this)
|
||||
.execute();
|
||||
}
|
||||
```
|
||||
|
||||
```text
|
||||
./bld compile bootwar
|
||||
```
|
||||
|
||||
Please check the [BootJarOperation documentation](https://rife2.github.io/bld-spring-boot/rife/bld/extension/BootJarOperation.html#method-summary)
|
||||
or [BootWarOperation documentation](https://rife2.github.io/bld-spring-boot/rife/bld/extension/BootWarOperation.html#method-summary)
|
||||
for all available configuration options.
|
Loading…
Add table
Add a link
Reference in a new issue