Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2015
685
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. buildscript {
  2. repositories {
  3. mavenCentral()
  4. }
  5. dependencies {
  6. classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.4.RELEASE")
  7. classpath("org.json:json:20141113")
  8. }
  9. }
  10.  
  11. apply plugin: 'java'
  12. apply plugin: 'eclipse'
  13. apply plugin: 'idea'
  14. apply plugin: 'spring-boot'
  15.  
  16. jar {
  17. baseName = 'gs-consuming-rest'
  18. version = '0.1.0'
  19. }
  20.  
  21. repositories {
  22. mavenCentral()
  23. }
  24.  
  25. mainClassName = 'TeamShopClient.java'
  26.  
  27. sourceCompatibility = 1.8
  28. targetCompatibility = 1.8
  29.  
  30. dependencies {
  31. compile("org.json:json:20141113")
  32. compile("org.springframework.boot:spring-boot-starter")
  33. compile("org.springframework:spring-web")
  34. compile("com.fasterxml.jackson.core:jackson-databind")
  35.  
  36. testCompile("junit:junit")
  37. testCompile("org.json:json:20141113")
  38. }
  39.  
  40. task wrapper(type: Wrapper) {
  41. gradleVersion = '2.3'
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement