-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
89 lines (68 loc) · 3.12 KB
/
build.gradle
File metadata and controls
89 lines (68 loc) · 3.12 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.5'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.thc'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
//여기서부터 추가 시작
//domain
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
//db
runtimeOnly 'com.mysql:mysql-connector-j'
implementation group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '2.2.0' //db
//mybatis 사용
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3' //3.0.2 => 3.0.3으로 상승!!
// aws 파일 업로드를 위함
// https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk
implementation group: 'com.amazonaws', name: 'aws-java-sdk', version: '1.12.460'
// https://mvnrepository.com/artifact/commons-io/commons-io
implementation group: 'commons-io', name: 'commons-io', version: '2.13.0'
// 시큐리티 사용을 위함
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.11.5'
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.11.5'
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: '0.11.5'
//implementation 'com.auth0:java-jwt:4.4.0'
implementation group: 'com.auth0', name: 'java-jwt', version: '4.4.0'
/*
//swagger 사용!!!
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2' //swagger 사용을 위함.
// 이메일 전송을 위함
// https://mvnrepository.com/artifact/com.sun.mail/javax.mail
implementation group: 'com.sun.mail', name: 'javax.mail', version: '1.6.2'
// SNS 로그인을 위함
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
// 구글 로그인을 위함
implementation 'com.google.api-client:google-api-client:2.0.0'
// kg 본인인증 을 위함
implementation group: 'org.apache.clerezza.ext', name: 'org.json.simple', version: '0.4'
// 구글 파이어베이스
implementation 'com.google.firebase:firebase-admin:9.2.0' // Google Firebase Admin
*/
// 추가 종료
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
//thymeleaf 재기동 없이 실행하기 위한 코드
compileOnly("org.springframework.boot:spring-boot-devtools")
annotationProcessor "jakarta.annotation:jakarta.annotation-api" // java.lang.NoClassDefFoundError (javax.annotation.Generated) 관련 대응 코드
annotationProcessor "jakarta.persistence:jakarta.persistence-api" // java.lang.NoClassDefFoundError (javax.annotation.Entity) 관련 대응 코드
}
tasks.named('test') {
useJUnitPlatform()
}