Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. buildscript {
  2. ext {
  3. springBootVersion = '1.3.2.RELEASE'
  4. }
  5. repositories {
  6. mavenCentral()
  7. }
  8. dependencies {
  9. classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
  10. }
  11. }
  12.  
  13. apply plugin: 'java'
  14. apply plugin: 'eclipse'
  15. apply plugin: 'spring-boot'
  16.  
  17. jar {
  18. baseName = 'spring-data-neo4j-demo'
  19. version = '0.0.1-SNAPSHOT'
  20. }
  21. sourceCompatibility = 1.8
  22. targetCompatibility = 1.8
  23.  
  24. repositories {
  25. mavenCentral()
  26. }
  27.  
  28.  
  29. dependencies {
  30. compile('org.springframework.data:spring-data-neo4j:4.0.0.RELEASE')
  31. compile('org.springframework.boot:spring-boot-starter-data-rest')
  32. testCompile('org.springframework.boot:spring-boot-starter-test')
  33. }
  34.  
  35.  
  36. eclipse {
  37. classpath {
  38. containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
  39. containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8'
  40. }
  41. }
  42.  
  43. task wrapper(type: Wrapper) {
  44. gradleVersion = '2.9'
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement