39 lines
996 B
Groovy
39 lines
996 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.1.4.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
group = 'io.reflectoring'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '1.8'
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
|
|
compileOnly 'org.projectlombok:lombok'
|
|
runtimeOnly 'com.h2database:h2'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
|
exclude group: 'junit' // excluding junit 4
|
|
}
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.0.1'
|
|
testImplementation 'org.mockito:mockito-junit-jupiter:2.23.0'
|
|
testImplementation 'com.tngtech.archunit:archunit:0.9.3'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|