Greg Turnquist 13 лет назад
Родитель
Сommit
ae382bc181
1 измененных файлов: 5 добавлений и 5 удалений
  1. 5
    5
      README.md

+ 5
- 5
README.md Просмотреть файл

@@ -242,17 +242,17 @@ The [`@EnableAutoConfiguration`][] annotation switches on reasonable default beh
242 242
 
243 243
 Now that your `Application` class is ready, you simply instruct the build system to create a single, executable jar containing everything. This makes it easy to ship, version, and deploy the service as an application throughout the development lifecycle, across different environments, and so forth.
244 244
 
245
-Add the following configuration to your existing Gradle build file:
245
+Add the following dependency to your Gradle **build.gradle** file's `buildscript` section:
246 246
 
247
-`build.gradle`
248 247
 ```groovy
249
-buildscript {
250
-    ...
251 248
     dependencies {
252 249
         classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.BUILD-SNAPSHOT")
253 250
     }
254
-}
251
+```
252
+
253
+Further down inside `build.gradle`, add the following to the list of plugins:
255 254
 
255
+```groovy
256 256
 apply plugin: 'spring-boot'
257 257
 ```
258 258