Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- ext {
- springBootVersion = '2.0.0.RELEASE'
- }
- repositories {
- mavenCentral()
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
- }
- }
- plugins {
- id "org.flywaydb.flyway" version "5.0.7"
- }
- apply plugin: 'java'
- apply plugin: 'eclipse'
- apply plugin: 'org.springframework.boot'
- apply plugin: 'io.spring.dependency-management'
- jar {
- baseName = 'org.junbc.surveyor'
- version = '1.0'
- }
- sourceCompatibility = 1.8
- repositories {
- mavenCentral()
- }
- dependencies {
- compile "org.springframework.boot:spring-boot-starter-actuator"
- compile "org.springframework.boot:spring-boot-starter-web"
- compile "org.springframework.boot:spring-boot-starter-data-jpa"
- compile group: 'org.postgresql', name: 'postgresql', version: '42.2.2'
- compile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.11.281'
- testCompile 'org.springframework.boot:spring-boot-starter-test'
- }
- flyway {
- url = 'jdbc:postgresql://localhost:5432/surveyor'
- user = 'postgres'
- password = ''
- }
Add Comment
Please, Sign In to add comment