-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
83 lines (73 loc) · 2.39 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.2'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'zero.eight'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext {
set('springCloudGcpVersion', "5.0.0")
set('springCloudVersion', "2023.0.0")
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// validation
implementation 'org.springframework.boot:spring-boot-starter-validation'
// mysql
implementation 'mysql:mysql-connector-java:8.0.32'
// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// devtools
developmentOnly 'org.springframework.boot:spring-boot-devtools'
// test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// security
implementation 'org.springframework.boot:spring-boot-starter-security'
// google api
implementation 'com.google.api-client:google-api-client:1.31.1'
implementation 'com.google.api-client:google-api-client-jackson2:2.0.0'
implementation group: 'com.google.http-client', name: 'google-http-client-jackson2', version: '1.42.2'
//GCP
implementation 'com.google.cloud:spring-cloud-gcp-starter-storage'
// redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// jwt
implementation 'com.auth0:java-jwt:4.3.0'
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
//WebClient
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-webflux'
// firebase
implementation group: 'com.google.firebase', name: 'firebase-admin', version: '8.1.0'
}
dependencyManagement {
imports {
mavenBom "com.google.cloud:spring-cloud-gcp-dependencies:${springCloudGcpVersion}"
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
//yml submodule
task copyYML(type: Copy){
copy{
from './Donut-Server-yml'
include "*.yml" , "*.json"
into './src/main/resources'
}
}
tasks.named('test') {
useJUnitPlatform()
}