Building a RESTful Web Service :: Learn how to create a RESTful web service with Spring. :: spring-boot http://spring.io/guides/gs/rest-service/

build.gradle 343B

12345678910111213141516
  1. apply plugin: 'java'
  2. apply plugin: 'jetty'
  3. apply plugin: 'eclipse-wtp'
  4. repositories { mavenCentral() }
  5. dependencies {
  6. compile "org.springframework:spring-webmvc:3.2.2.RELEASE"
  7. compile "org.codehaus.jackson:jackson-mapper-asl:1.9.9"
  8. providedCompile "javax.servlet:servlet-api:2.5"
  9. }
  10. task wrapper(type: Wrapper) {
  11. gradleVersion = '1.5'
  12. }