Advertisement
Guest User

Untitled

a guest
Jan 12th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. buildscript {
  2. ext {
  3. springBootVersion = '1.4.3.RELEASE'
  4. }
  5. repositories {
  6. mavenCentral()
  7. }
  8. dependencies {
  9. classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
  10. }
  11. }
  12.  
  13. // ************************************************************************************* //
  14.  
  15. plugins {
  16. id "org.flywaydb.flyway" version "4.0.3"
  17. }
  18.  
  19. flyway {
  20. url = 'jdbc:mysql://localhost:3306/music1'
  21. }
  22.  
  23. // ************************************************************************************* //
  24.  
  25. apply plugin: 'java'
  26. apply plugin: 'eclipse'
  27. apply plugin: 'org.springframework.boot'
  28.  
  29. jar {
  30. baseName = 'music'
  31. version = '0.0.1-SNAPSHOT'
  32. }
  33.  
  34. sourceCompatibility = 1.8
  35. targetCompatibility = 1.8
  36.  
  37. repositories {
  38. mavenCentral()
  39. }
  40.  
  41. dependencies {
  42. compile('org.springframework.boot:spring-boot-starter-data-jpa')
  43. compile('org.springframework.boot:spring-boot-starter-web')
  44. runtime('mysql:mysql-connector-java')
  45. compileOnly('org.projectlombok:lombok')
  46. testCompile('org.springframework.boot:spring-boot-starter-test')
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement