49 lines
1.3 KiB
Groovy
49 lines
1.3 KiB
Groovy
buildscript {
|
|
ext {
|
|
springBootVersion = '2.1.3.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 = 11
|
|
|
|
repositories {
|
|
jcenter()
|
|
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:5.4.0')
|
|
testCompile('org.junit.platform:junit-platform-launcher:1.4.0')
|
|
testCompile('org.mockito:mockito-junit-jupiter:2.23.0')
|
|
testCompile('de.adesso:junit-insights:1.0.0')
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.6'
|
|
}
|
|
|
|
test {
|
|
systemProperty 'de.adesso.junitinsights.enabled', 'true'
|
|
systemProperty 'junit.jupiter.extensions.autodetection.enabled', 'true'
|
|
useJUnitPlatform()
|
|
}
|