39 lines
958 B
Groovy
39 lines
958 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '2.7.7'
|
|
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
|
|
}
|
|
|
|
group = 'com.example'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '11'
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
|
|
// implementation "com.querydsl:querydsl-mongodb"
|
|
// implementation 'com.querydsl:querydsl-apt'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.kafka:spring-kafka'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.springframework.kafka:spring-kafka-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|