-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
98 lines (79 loc) · 2.82 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
plugins {
id 'java'
id 'java-library'
id 'org.springframework.boot' version '3.1.4'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
id 'com.diffplug.spotless' version '6.11.0'
}
group = 'bleuauction'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-websocket'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework:spring-messaging:5.3.20'
implementation 'org.springframework.boot:spring-boot-starter-aop'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.webjars:sockjs-client:1.0.2'
implementation 'org.webjars:stomp-websocket:2.3.3'
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'mysql:mysql-connector-java:8.0.33'
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
// JWT 토큰
implementation 'com.auth0:java-jwt:4.0.0'
implementation 'io.jsonwebtoken:jjwt:0.9.1'
//예외처리
implementation 'org.springframework.boot:spring-boot-starter-validation'
// 이메일 라이브러리
implementation 'com.sun.mail:javax.mail:1.6.2'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
// Amazon AWS Java SDK s3
implementation 'com.amazonaws:aws-java-sdk-s3:1.12.530'
// https://mvnrepository.com/artifact/com.mysql/mysql-connector-j
// DB
runtimeOnly 'com.mysql:mysql-connector-j'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// 결제
implementation 'com.github.iamport:iamport-rest-client-java:0.2.23'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'com.h2database:h2'
// local, H2사용을 위한것...
//runtimeOnly 'com.h2database:h2'
testCompileOnly 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.security:spring-security-test'
// Amazon AWS Java SDK s3
implementation 'com.amazonaws:aws-java-sdk-s3:1.12.530'
}
tasks.named('test') {
useJUnitPlatform()
}
// spotless 설정
spotless {
java {
target("**/*.java")
googleJavaFormat().aosp()
importOrder()
removeUnusedImports()
trimTrailingWhitespace()
endWithNewline()
}
}