Guest User

Spring reactive issue

a guest
Nov 1st, 2016
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 1.83 KB | None | 0 0
  1. buildscript {
  2.     ext {
  3.         springBootVersion = '2.0.0.BUILD-SNAPSHOT'
  4.     }
  5.     repositories {
  6.         mavenCentral()
  7.         maven { url "https://repo.spring.io/snapshot" }
  8.         maven { url "https://repo.spring.io/milestone" }
  9.     }
  10.     dependencies {
  11.         classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
  12.     }
  13. }
  14.  
  15. apply plugin: 'java'
  16. apply plugin: 'eclipse'
  17. apply plugin: 'org.springframework.boot'
  18.  
  19. jar {
  20.     baseName = 'demo'
  21.     version = '0.0.1-SNAPSHOT'
  22. }
  23. sourceCompatibility = 1.8
  24. targetCompatibility = 1.8
  25.  
  26. repositories {
  27.     mavenCentral()
  28.     maven { url "https://repo.spring.io/snapshot" }
  29.     maven { url "https://repo.spring.io/milestone" }
  30. }
  31.  
  32.  
  33. dependencies {
  34.     compile('org.springframework.boot:spring-boot-starter-cache')
  35.     compile('org.springframework.boot:spring-boot-starter-data-jpa')
  36.     compile('org.springframework.boot:spring-boot-starter-data-mongodb')
  37.     compile('org.springframework.boot:spring-boot-starter-data-redis')
  38.     compile('org.springframework.boot:spring-boot-starter-data-rest')
  39.     compile('org.springframework.data:spring-data-rest-hal-browser')
  40.     compile('org.springframework.boot.experimental:spring-boot-starter-web-reactive')
  41.     compile('org.springframework.boot:spring-boot-starter-hateoas')
  42.     compile('org.springframework.retry:spring-retry')
  43.     compile('org.springframework.boot:spring-boot-starter-security')
  44.     compile('org.springframework.boot:spring-boot-starter-web')
  45.  
  46.     compile("com.h2database:h2")
  47.  
  48.     testCompile('org.springframework.boot:spring-boot-starter-test')
  49.     testCompile('org.springframework.restdocs:spring-restdocs-mockmvc')
  50. }
  51.  
  52. dependencyManagement {
  53.     imports {
  54.         mavenBom "org.springframework.boot.experimental:spring-boot-dependencies-web-reactive:0.1.0.BUILD-SNAPSHOT"
  55.     }
  56. }
Add Comment
Please, Sign In to add comment