build.gradle 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. buildscript {
  2. ext {
  3. springBootVersion = '2.0.0.M7'
  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. apply plugin: 'java'
  15. apply plugin: 'eclipse'
  16. apply plugin: 'org.springframework.boot'
  17. apply plugin: 'io.spring.dependency-management'
  18. group = 'io.pivotal.workshop'
  19. version = '0.0.1-SNAPSHOT'
  20. sourceCompatibility = 1.8
  21. repositories {
  22. mavenCentral()
  23. maven { url "https://repo.spring.io/snapshot" }
  24. maven { url "https://repo.spring.io/milestone" }
  25. }
  26. dependencies {
  27. compile('org.springframework.boot:spring-boot-starter-actuator')
  28. compile('org.springframework.boot:spring-boot-starter-webflux')
  29. compileOnly('org.springframework.boot:spring-boot-configuration-processor')
  30. runtime('org.springframework.boot:spring-boot-devtools')
  31. //runtime('de.flapdoodle.embed:de.flapdoodle.embed.mongo')
  32. testCompile('org.springframework.boot:spring-boot-starter-test')
  33. testCompile('io.projectreactor:reactor-test')
  34. }