build.gradle 1.13 KB
Newer Older
Khalid Ali's avatar
Khalid Ali committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
buildscript {
	ext {
		springBootVersion = '2.1.1.RELEASE'
	}
	repositories {
		mavenCentral()
	}
	dependencies {
		classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
	}
}

plugins {
    id "org.flywaydb.flyway" version "5.2.4"
}

flyway {
    url= "jdbc:postgresql://localhost:26257/testdb"
    user= "user17"
}

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'

27
group = 'com.gmu.bookshare'
Khalid Ali's avatar
Khalid Ali committed
28 29 30 31 32 33 34 35 36 37 38
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8

repositories {
	mavenCentral()
}

dependencies {
	implementation('org.springframework.boot:spring-boot-starter-data-jpa')
	implementation('org.springframework.boot:spring-boot-starter-data-rest')
	implementation('org.springframework.boot:spring-boot-starter-web')
39
	implementation('org.modelmapper:modelmapper:2.3.1')
Khalid Ali's avatar
Khalid Ali committed
40 41 42
    compile group: 'org.postgresql', name: 'postgresql', version: '42.2.5'
	compileOnly('org.projectlombok:lombok')
	testImplementation('org.springframework.boot:spring-boot-starter-test')
43 44
	testImplementation('org.assertj:assertj-core')
	testImplementation('com.h2database:h2')
Khalid Ali's avatar
Khalid Ali committed
45
}