diff --git a/README.md b/README.md index f84344e918..e67e142e4c 100644 --- a/README.md +++ b/README.md @@ -428,17 +428,17 @@ 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 configuration to your existing Gradle build file: +Add the following dependency to your Gradle **build.gradle** file's `buildscript` section: -`build.gradle` ```groovy -buildscript { - ... 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: + +```groovy apply plugin: 'spring-boot' ```