This repository has been archived by the owner on Aug 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (47 loc) · 1.81 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
49
50
51
52
53
54
55
56
57
58
59
plugins {
id 'org.springframework.boot' version '2.6.1'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'org.asciidoctor.convert' version '1.5.8'
id 'java'
}
group = 'fr.gravendev'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = targetCompatibility = '17'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext {
set('snippetsDir', file("build/generated-snippets"))
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-data-rest:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-jdbc:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-mail:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-web:2.6.3'
implementation 'org.springframework.boot:spring-boot-starter-websocket:2.6.3'
implementation 'javax.inject:javax.inject:1'
implementation 'org.commonmark:commonmark:0.18.1'
implementation 'org.springframework.boot:spring-boot-starter-webflux:2.6.3'
compileOnly 'org.projectlombok:lombok:1.18.22'
developmentOnly 'org.springframework.boot:spring-boot-devtools:2.6.3'
runtimeOnly 'io.micrometer:micrometer-registry-prometheus:1.8.2'
runtimeOnly 'org.postgresql:postgresql:42.3.1'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor:2.6.3'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.6.3'
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc:2.0.6.RELEASE'
}
test {
outputs.dir snippetsDir
useJUnitPlatform()
}
asciidoctor {
inputs.dir snippetsDir
dependsOn test
}