forked from YAPP-16th/Team_Web_3_Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
67 lines (57 loc) · 2.24 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
buildscript {
ext {
springBootVersion = '2.1.7.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/libs-milestone'}
/*Spring Cloud AWS가 현재 (2018.06.03) 2.0.0.RC2가 최신이라
maven { url 'https://repo.spring.io/libs-milestone'}가 필요*/
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group = 'com.web.yapp'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-mustache'
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compile 'org.springframework.boot:spring-boot-starter-oauth2-client'
compile 'org.springframework.boot:spring-boot-starter-security'
compile group: 'org.springframework.security', name: 'spring-security-core', version: '5.3.2.RELEASE'
compile 'org.springframework.boot:spring-boot-starter-web'
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.5.6' // p6spy 실제로 쿼리로 들어가는 데이터 확인 가능
compile('org.springframework.cloud:spring-cloud-starter-aws') //파일업로드
compile('com.h2database:h2')
// https://mvnrepository.com/artifact/mysql/mysql-connector-java
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.20'
implementation 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
runtimeOnly 'com.h2database:h2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.5.0'
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.5.0'
}
dependencyManagement { //파일 업로드를 위한 cloud 의존성 추가
imports {
mavenBom 'org.springframework.cloud:spring-cloud-aws:2.0.0.RC2'
}
}
test {
useJUnitPlatform()
}