39 lines
1.1 KiB
Groovy
39 lines
1.1 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.4.5'
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.example'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '11'
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-batch'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
runtimeOnly 'mysql:mysql-connector-java'
|
|
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.springframework.batch:spring-batch-test'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|