-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (42 loc) · 1.66 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
plugins {
id 'org.springframework.boot' version '2.5.4'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'com.adarshr.test-logger' version '3.0.0'
id "io.freefair.lombok" version "6.1.0"
}
group = 'the.challenge'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
def queryDslOutput = file("${buildDir}/generated/source/apt")
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
implementation 'org.springframework.boot:spring-boot-starter-data-rest'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'de.flapdoodle.embed:de.flapdoodle.embed.mongo'
implementation 'com.querydsl:querydsl-mongodb:5.0.0'
implementation 'org.springdoc:springdoc-openapi-ui:1.5.10'
implementation 'org.springdoc:springdoc-openapi-webmvc-core:1.5.10'
implementation 'org.springdoc:springdoc-openapi-hateoas:1.5.10'
implementation 'org.springdoc:springdoc-openapi-data-rest:1.5.10'
compileOnly 'org.projectlombok:lombok'
compileOnly 'com.querydsl:querydsl-apt:5.0.0:general'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation group: 'net.javacrumbs.json-unit', name: 'json-unit-assertj', version: '2.27.0'
annotationProcessor 'com.querydsl:querydsl-apt:5.0.0:general'
annotationProcessor 'org.projectlombok:lombok'
}
compileJava.options.getGeneratedSourceOutputDirectory().set(queryDslOutput)
test {
useJUnitPlatform()
}