-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (49 loc) · 1.58 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
/*buildscript {
ext {
springBootVersion =
}
}*/
plugins {
id 'org.springframework.boot' version '2.7.2'
id 'io.spring.dependency-management' version '1.0.12.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
//spring boot, spring boot web
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'junit:junit:4.13.1' //JUnit4 자동생성시킴
testImplementation 'org.springframework.boot:spring-boot-starter-test' //테스트코드 사용 설정들 자동 준비해줌
//Spring Security, JWT
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'io.jsonwebtoken:jjwt:0.9.1'
//JPA
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
//mysql
runtimeOnly 'mysql:mysql-connector-java'
//lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
//json 파싱할 GSON
implementation 'com.google.code.gson:gson:2.9.1'
//ModelMapper
implementation group: 'org.modelmapper', name: 'modelmapper', version: '3.0.0'
//Hibernate Bean Validator
implementation 'org.springframework.boot:spring-boot-starter-validation'
//swagger
implementation 'org.springdoc:springdoc-openapi-ui:1.6.13'
}
tasks.named('test') {
useJUnitPlatform()
}