The Gradle build script for your project

To configure the Gradle build script for your project, perform the following steps:

  1. Go to the root directory of your project from the filesystem, create a file called build.gradle, and add the following content into the file and save it:
     apply plugin: 'war'       apply plugin: 'eclipse-wtp'       repositories {                mavenCentral() //add central maven repo to your buildfile       }       dependencies {               compile 'org.springframework:spring-webmvc:4.3.0.RELEASE',                        'javax.servlet:jstl:1.2',                        'org.springframework:spring-jdbc:4.3.0.RELEASE',                        'org.hsqldb:hsqldb:2.3.2',                       'commons-fileupload:commons-fileupload:1.2.2', ...

Get Spring: Developing Java Applications for the Enterprise now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.