Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- ext {
- springBootVersion = '1.4.3.RELEASE'
- }
- repositories {
- mavenCentral()
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
- }
- }
- // ************************************************************************************* //
- plugins {
- id "org.flywaydb.flyway" version "4.0.3"
- }
- flyway {
- url = 'jdbc:mysql://localhost:3306/music1'
- }
- // ************************************************************************************* //
- apply plugin: 'java'
- apply plugin: 'eclipse'
- apply plugin: 'org.springframework.boot'
- jar {
- baseName = 'music'
- version = '0.0.1-SNAPSHOT'
- }
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- repositories {
- mavenCentral()
- }
- dependencies {
- compile('org.springframework.boot:spring-boot-starter-data-jpa')
- compile('org.springframework.boot:spring-boot-starter-web')
- runtime('mysql:mysql-connector-java')
- compileOnly('org.projectlombok:lombok')
- testCompile('org.springframework.boot:spring-boot-starter-test')
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement