Quellcode durchsuchen

Clarify mods to buildscript section

Greg Turnquist vor 13 Jahren
Ursprung
Commit
cff94719c1
1 geänderte Dateien mit 8 neuen und 2 gelöschten Zeilen
  1. 8
    2
      README.md

+ 8
- 2
README.md Datei anzeigen

@@ -242,15 +242,21 @@ 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 dependency to your Gradle **build.gradle** file's `buildscript` section:
245
+Update your Gradle `build.gradle` file's `buildscript` section, so that it looks like this:
246 246
 
247 247
 ```groovy
248
+buildscript {
249
+    repositories {
250
+        maven { url "http://repo.springsource.org/libs-snapshot" }
251
+        mavenLocal()
252
+    }
248 253
     dependencies {
249 254
         classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.BUILD-SNAPSHOT")
250 255
     }
256
+}
251 257
 ```
252 258
 
253
-Further down inside `build.gradle`, add the following to the list of plugins:
259
+Further down inside `build.gradle`, add the following to the list of applied plugins:
254 260
 
255 261
 ```groovy
256 262
 apply plugin: 'spring-boot'