54 lines
1.6 KiB
Groovy
54 lines
1.6 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.6.6'
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|
id 'java'
|
|
id 'application'
|
|
}
|
|
|
|
mainClassName = 'com.example.oneul.OneulApplication'
|
|
group = 'com.example'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '11'
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-batch'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
|
|
|
|
implementation 'org.springframework.session:spring-session-data-redis'
|
|
|
|
implementation 'org.springframework.kafka:spring-kafka'
|
|
|
|
runtimeOnly 'mysql:mysql-connector-java'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
testImplementation "org.testcontainers:testcontainers:1.15.3"
|
|
testImplementation "org.testcontainers:junit-jupiter:1.16.3"
|
|
testImplementation "org.testcontainers:mysql:1.15.3"
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|