-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
76 lines (56 loc) · 2.17 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
plugins {
id 'java'
id 'org.springframework.boot' version '3.0.5'
id 'io.spring.dependency-management' version '1.1.0'
}
bootJar {enabled = false}
jar {enabled = true}
allprojects {
group = 'com.tht'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
targetCompatibility = '17'
repositories {
mavenCentral()
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
subprojects {
apply plugin: "java"
apply plugin: "org.springframework.boot"
apply plugin: "io.spring.dependency-management"
apply plugin: "java-test-fixtures"
// apply plugin: "com.epages.restdocs-api-spec"
// apply plugin: "org.hidetake.swagger.generator"
test {
useJUnitPlatform()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.apache.commons:commons-lang3:3.12.0'
testImplementation 'org.projectlombok:lombok'
testFixturesImplementation 'org.projectlombok:lombok'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
//test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.rest-assured:rest-assured:5.3.0'
//mongo
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
//in-memory-mongo
testImplementation 'de.bwaldvogel:mongo-java-server:1.44.0'
// https://mvnrepository.com/artifact/com.mysql/mysql-connector-j
implementation 'com.mysql:mysql-connector-j:8.0.32'
// https://mvnrepository.com/artifact/org.springframework/spring-webflux
implementation 'org.springframework:spring-webflux'
// https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
// https://mvnrepository.com/artifact/jakarta.persistence/jakarta.persistence-api
implementation 'jakarta.persistence:jakarta.persistence-api:3.2.0'
}
}