Add build.gradle samples and rename runJar->bootRun

This commit is contained in:
Dave Syer
2013-12-10 11:06:59 +00:00
parent 4c9c2b8dcf
commit e55e8f9863
6 changed files with 135 additions and 2 deletions

View 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
```