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

123456789101112131415161718
  1. apply plugin: 'java'
  2. apply plugin: 'eclipse-wtp'
  3. apply plugin: 'idea'
  4. apply plugin: 'application'
  5. mainClassName = "hello.HelloWorlConfiguration"
  6. repositories { mavenCentral() }
  7. dependencies {
  8. compile "org.springframework.bootstrap:spring-bootstrap-web-starter:0.0.1-SNAPSHOT"
  9. compile "com.fasterxml.jackson.core:jackson-databind:2.2.0-"
  10. }
  11. task wrapper(type: Wrapper) {
  12. gradleVersion = '1.5'
  13. }