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,12 +79,14 @@ The `run()` method returns an `ApplicationContext` and this application then ret
79 79
 == Run the application
80 80
 To run the application, execute:
81 81
 
82
+[subs="attributes"]
82 83
 ----
83 84
 ./gradlew build && java -jar build/libs/{project_id}-0.1.0.jar
84 85
 ----
85 86
 
86 87
 If you are using Maven, execute:
87 88
 
89
+[subs="attributes"]
88 90
 ----
89 91
 mvn package && java -jar target/{project_id}-0.1.0.jar
90 92
 ----
@@ -186,12 +188,14 @@ include::complete/src/main/java/hello/Application.java[]
186 188
 
187 189
 Run the app again:
188 190
 
191
+[subs="attributes"]
189 192
 ----
190 193
 ./gradlew build && java -jar build/libs/{project_id}-0.1.0.jar
191 194
 ----
192 195
 
193 196
 If you are using Maven, execute:
194 197
 
198
+[subs="attributes"]
195 199
 ----
196 200
 mvn package && java -jar target/{project_id}-0.1.0.jar
197 201
 ----
@@ -365,4 +369,4 @@ Hello World!
365 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 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.