-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
77 lines (64 loc) · 2.44 KB
/
build.gradle
File metadata and controls
77 lines (64 loc) · 2.44 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
plugins {
id 'java'
id 'org.springframework.boot' version '2.6.6'
//스프링 부트의 의존성들을 관리해 주는 플러그인
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
}
allprojects{
group 'org.changsol'
version '1.0.0-SNAPSHOT'
sourceCompatibility = '16'
targetCompatibility = '16'
repositories {
mavenCentral()
}
}
subprojects {
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'eclipse'
compileJava {
//argument mapstrcut unmappedTarget ignore 처리
options.compilerArgs << '-Amapstruct.unmappedTargetPolicy=IGNORE'
}
dependencies {
//spring MVC 등 Web API 를 위한 설정
implementation 'org.springframework.boot:spring-boot-starter-web'
//JPA 설정
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
//Spring Security 설정
implementation 'org.springframework.boot:spring-boot-starter-security'
//벨리데이션 설정
implementation 'org.springframework.boot:spring-boot-starter-validation'
// //Oauth2 설정
implementation 'org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:2.3.12.RELEASE'
//H2 DB 설정
implementation 'com.h2database:h2'
//MySQL DB 설정
//implementation 'mysql:mysql-connector-java'
//PostgreSQL DB 설정
//implementation 'org.postgresql:postgresql'
//Lombok 설정
implementation 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
testAnnotationProcessor 'org.projectlombok:lombok'
//MapStruct 설정
implementation 'org.mapstruct:mapstruct:1.5.2.Final'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.2.Final'
//SpringDoc 설정
implementation 'org.springdoc:springdoc-openapi-ui:1.6.14'
//JUnit5
testImplementation 'org.springframework.boot:spring-boot-starter-test'
//guava
implementation 'com.google.guava:guava:31.1-jre'
//device
implementation 'org.springframework.mobile:spring-mobile-device:1.1.3.RELEASE'
//hibernate 버그로 인하여 다운그레이드
implementation 'org.hibernate:hibernate-core:5.6.5.Final'
}
test {
useJUnitPlatform()
}
}