-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
68 lines (54 loc) · 2.26 KB
/
build.gradle
File metadata and controls
68 lines (54 loc) · 2.26 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
plugins {
id 'org.springframework.boot' version '2.4.1' // RELEASE 삭제
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
jcenter()
}
test { // (2)
useJUnitPlatform()
}
dependencies {
implementation('org.springframework.boot:spring-boot-starter-web')
// lombok
implementation('org.projectlombok:lombok')
annotationProcessor('org.projectlombok:lombok')
testImplementation('org.projectlombok:lombok')
testAnnotationProcessor('org.projectlombok:lombok')
//DB관련
implementation('org.springframework.boot:spring-boot-starter-data-jpa') // Springboot 용 Spring Data jpa 추상화 라이브러리
implementation("org.mariadb.jdbc:mariadb-java-client")// MariaDB Driver
implementation('com.h2database:h2') // 인메모리 관계형 데이타베이스, 메모리에서만 실행되기에 재시작 할때마다 초기화 된다는 점을 이용하여 테스트용도로 많이 사용됨
//Spring Security
implementation('org.springframework.boot:spring-boot-starter-security')
// implementation('org.springframework.boot:spring-boot-starter-oauth2-client') // 권한 관련
// implementation('org.springframework.boot:spring-boot-starter-validation')
// EnableConfigurationProperties 가능하게 함
implementation('org.springframework.boot:spring-boot-configuration-processor') // custom-oauth
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
//JWT
implementation('javax.xml.bind:jaxb-api')
implementation('io.jsonwebtoken:jjwt-api:0.11.2')
runtime('io.jsonwebtoken:jjwt-impl:0.11.2')
runtime('io.jsonwebtoken:jjwt-jackson:0.11.2')
//WebClient 통신
implementation('org.springframework.boot:spring-boot-starter-webflux')
//AWS
implementation('org.springframework.cloud:spring-cloud-starter-aws:2.0.1.RELEASE')
//TestCode
testImplementation('org.springframework.boot:spring-boot-starter-test')
testImplementation('org.springframework.security:spring-security-test')
}
tasks.named('test') {
useJUnitPlatform()
}