Parcourir la source

Fix commands to properly render gradle/maven

Greg Turnquist il y a 12 ans
Parent
révision
2b514e9cd1
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5
    1
      README.adoc

+ 5
- 1
README.adoc Voir le fichier

79
 == Run the application
79
 == Run the application
80
 To run the application, execute:
80
 To run the application, execute:
81
 
81
 
82
+[subs="attributes"]
82
 ----
83
 ----
83
 ./gradlew build && java -jar build/libs/{project_id}-0.1.0.jar
84
 ./gradlew build && java -jar build/libs/{project_id}-0.1.0.jar
84
 ----
85
 ----
85
 
86
 
86
 If you are using Maven, execute:
87
 If you are using Maven, execute:
87
 
88
 
89
+[subs="attributes"]
88
 ----
90
 ----
89
 mvn package && java -jar target/{project_id}-0.1.0.jar
91
 mvn package && java -jar target/{project_id}-0.1.0.jar
90
 ----
92
 ----
186
 
188
 
187
 Run the app again:
189
 Run the app again:
188
 
190
 
191
+[subs="attributes"]
189
 ----
192
 ----
190
 ./gradlew build && java -jar build/libs/{project_id}-0.1.0.jar
193
 ./gradlew build && java -jar build/libs/{project_id}-0.1.0.jar
191
 ----
194
 ----
192
 
195
 
193
 If you are using Maven, execute:
196
 If you are using Maven, execute:
194
 
197
 
198
+[subs="attributes"]
195
 ----
199
 ----
196
 mvn package && java -jar target/{project_id}-0.1.0.jar
200
 mvn package && java -jar target/{project_id}-0.1.0.jar
197
 ----
201
 ----
365
 Spring Boot does this by dynamically adding key annotations to your code and leveraging http://groovy.codehaus.org/Grape[Groovy Grapes] to pull down needed libraries to make the app run.
369
 Spring Boot does this by dynamically adding key annotations to your code and leveraging http://groovy.codehaus.org/Grape[Groovy Grapes] to pull down needed libraries to make the app run.
366
 
370
 
367
 == Summary
371
 == Summary
368
-Congratulations! You built a simple web application with Spring Boot and learned how it can ramp up your development pace. You also turned on some handy production services.
372
+Congratulations! You built a simple web application with Spring Boot and learned how it can ramp up your development pace. You also turned on some handy production services.