40 lines
1.0 KiB
Groovy
40 lines
1.0 KiB
Groovy
buildscript {
|
|
ext {
|
|
springBootVersion = '2.0.2.RELEASE'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
}
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'org.springframework.boot'
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
group = 'reflectoring.io'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
|
|
dependencies {
|
|
compile('org.springframework.boot:spring-boot-starter-data-jpa')
|
|
compile('org.springframework.boot:spring-boot-starter-web')
|
|
compile('org.flywaydb:flyway-core')
|
|
compile('org.liquibase:liquibase-core')
|
|
compile('com.github.springtestdbunit:spring-test-dbunit:1.3.0')
|
|
compile('org.dbunit:dbunit:2.6.0')
|
|
compileOnly('org.projectlombok:lombok')
|
|
runtime('com.h2database:h2')
|
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
|
testCompile 'org.junit.jupiter:junit-jupiter-engine:5.2.0'
|
|
testCompile('org.mockito:mockito-junit-jupiter:2.23.0')
|
|
}
|