SHARE
TWEET

Untitled

a guest Aug 17th, 2018 237 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. buildscript {
  2.     ext {
  3.             springBootVersion = '2.0.0.RELEASE'
  4.         }
  5.   repositories {
  6.     mavenCentral()
  7.   }
  8.   dependencies {
  9.         classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
  10.     }
  11. }
  12.  
  13. plugins {
  14.     id "org.flywaydb.flyway" version "5.0.7"
  15. }
  16.  
  17. apply plugin: 'java'
  18. apply plugin: 'eclipse'
  19. apply plugin: 'org.springframework.boot'
  20. apply plugin: 'io.spring.dependency-management'
  21.  
  22. jar {
  23.     baseName = 'org.junbc.surveyor'
  24.     version = '1.0'
  25. }
  26.  
  27. sourceCompatibility = 1.8
  28.  
  29. repositories {
  30.     mavenCentral()
  31. }
  32.  
  33. dependencies {
  34.    
  35.   compile "org.springframework.boot:spring-boot-starter-actuator"
  36.   compile "org.springframework.boot:spring-boot-starter-web"
  37.   compile "org.springframework.boot:spring-boot-starter-data-jpa"
  38.   compile group: 'org.postgresql', name: 'postgresql', version: '42.2.2'
  39.   compile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.11.281'
  40.  
  41.   testCompile 'org.springframework.boot:spring-boot-starter-test'
  42. }
  43.  
  44. flyway {
  45.     url = 'jdbc:postgresql://localhost:5432/surveyor'
  46.     user = 'postgres'
  47.     password = ''
  48. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top