31 lines
730 B
Groovy
31 lines
730 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.1.3.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
group = 'io.reflectoring'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '11'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
runtimeOnly 'com.h2database:h2'
|
|
testImplementation('org.junit.jupiter:junit-jupiter:5.4.0')
|
|
testImplementation('org.springframework.boot:spring-boot-starter-test'){
|
|
exclude group: 'junit', module: 'junit'
|
|
}
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|