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 364B

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