-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
executable file
·76 lines (60 loc) · 2.68 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
76
plugins {
id 'org.springframework.boot' version '2.6.6'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.Techeer'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security' //로그인 기능을 위한 security
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.1' //JWT 사용
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
//javax/xml/bind/DatatypeConverter 에러 문제. jdk11의 관련 모듈 기본 참조
// jwt 관련 의존성
implementation group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.11.2'
runtimeClasspath group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.11.2'
runtimeClasspath group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: '0.11.2'
// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
//mysql
runtimeOnly 'mysql:mysql-connector-java'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
implementation group: 'com.vladmihalcea', name: 'hibernate-types-52', version: '2.10.4'
// swagger
implementation (group: 'io.springfox', name: 'springfox-swagger2', version: '2.9.2'){
exclude module: 'swagger-annotations' exclude module: 'swagger-models'
}
implementation 'io.swagger:swagger-annotations:1.6.6'
implementation 'io.swagger:swagger-models:1.6.6'
implementation group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.9.2'
// entity error
implementation 'org.springframework.boot:spring-boot-starter-validation'
//Dto와 entitiy 객체를 변환하기 위한 맵핑 라이브러리 ModelMapper 추가
implementation 'org.modelmapper:modelmapper:3.0.0'
//JSONObject 사용
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
//jsoup
implementation 'org.jsoup:jsoup:1.14.3'
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
}
tasks.named('test') {
useJUnitPlatform()
}