Add build.gradle samples and rename runJar->bootRun
This commit is contained in:
19
spring-boot-samples/spring-boot-sample-simple/README.md
Normal file
19
spring-boot-samples/spring-boot-sample-simple/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Spring Boot Simple Sample
|
||||
|
||||
You can build this sample using Maven (>3) or Gradle (1.6).
|
||||
|
||||
With Maven:
|
||||
|
||||
```
|
||||
$ mvn package
|
||||
$ java -jar target/*.jar
|
||||
```
|
||||
|
||||
The app prints a Hello message on the console.
|
||||
|
||||
With gradle:
|
||||
|
||||
```
|
||||
$ gradle build
|
||||
$ java -jar build/libs/*.jar
|
||||
```
|
||||
Reference in New Issue
Block a user