-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
113 lines (90 loc) · 3.71 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.14'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
id "org.sonarqube" version "4.4.1.3373"
}
group = 'peer'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = "11"
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
// logback except
all*.exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
all*.exclude group: 'org.springframework.boot', module: 'logback-classic'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.springframework.boot:spring-boot-devtools'
implementation 'org.springframework.boot:spring-boot-starter-log4j2'
// Swagger
implementation group: 'io.springfox', name: 'springfox-boot-starter', version: '3.0.0'
// Security
testImplementation 'org.springframework.security:spring-security-test'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'org.springframework.boot:spring-boot-starter-security'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
// Mail
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.5' // peer 비밀번호 안전하게 저장
// JWT
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5'
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
//Oauth2
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
// redis
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-data-redis', version: '2.4.10'
//tika
implementation group: 'org.apache.tika', name: 'tika-core', version: '1.24'
// batch
implementation 'org.springframework.boot:spring-boot-starter-batch'
testImplementation 'org.springframework.batch:spring-batch-test'
// mongo
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
implementation 'com.fasterxml.jackson.core:jackson-databind'
// excel
implementation 'org.apache.poi:poi:5.2.2'
implementation 'org.apache.poi:poi-ooxml:5.2.2'
// socket
implementation 'com.corundumstudio.socketio:netty-socketio:2.0.3'
// json createdAt
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.15.3'
// prepersistence
implementation 'jakarta.persistence:jakarta.persistence-api:2.2.3'
// 사용 가능한 최신 버전 사용
}
tasks.named('test') {
useJUnitPlatform()
}
task copyGitSubmodule(type: Copy) {
copy {
from './private-resources'
include "**/**"
into 'src/main/resources'
}
}
sonar {
properties {
property "sonar.projectKey", "peer-42seoul_Peer-Backend"
property "sonar.organization", "peer-community-development-community"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.scanner.force-deprecated-java-version", "true"
}
}