From dacafdc14154c48324f17c0eda486cdcd6dbc39c Mon Sep 17 00:00:00 2001 From: Greg Turnquist Date: Fri, 16 Aug 2013 15:07:38 -0500 Subject: [PATCH] Clarify mods to buildscript section --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e67e142e4c..5759f0b963 100644 --- a/README.md +++ b/README.md @@ -428,15 +428,21 @@ For demonstration purposes, there is code to create a `JdbcTemplate`, query the 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. -Add the following dependency to your Gradle **build.gradle** file's `buildscript` section: +Update your Gradle `build.gradle` file's `buildscript` section, so that it looks like this: ```groovy +buildscript { + repositories { + maven { url "http://repo.springsource.org/libs-snapshot" } + mavenLocal() + } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.BUILD-SNAPSHOT") } +} ``` -Further down inside `build.gradle`, add the following to the list of plugins: +Further down inside `build.gradle`, add the following to the list of applied plugins: ```groovy apply plugin: 'spring-boot'