-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
116 lines (94 loc) ยท 3.4 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
114
115
116
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.1'
id 'io.spring.dependency-management' version '1.1.0'
}
group = 'com.munecting'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
maven {
url "https://maven.google.com"
}
}
dependencies {
// Spring
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.jetbrains:annotations:23.0.0'
// Lombok
testImplementation 'org.projectlombok:lombok:1.18.22'
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok'
// Mysql
runtimeOnly 'com.mysql:mysql-connector-j'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
//youtube
implementation 'com.google.apis:google-api-services-youtube:v3-rev20230816-2.0.0'
implementation 'com.google.oauth-client:google-oauth-client:1.31.0'
implementation 'com.google.api-client:google-api-client:1.32.1'
implementation 'com.google.auth:google-auth-library-oauth2-http:1.19.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.5'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
// Spring security
implementation 'org.springframework.security:spring-security-core'
implementation group: 'org.springframework.security', name: 'spring-security-messaging', version: '5.6.2'
implementation 'org.springframework.boot:spring-boot-starter-security'
// JWT
implementation group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.11.2'
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.11.2'
runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: '0.11.2'
// Redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// email ๊ด๋ จ
implementation 'org.springframework.boot:spring-boot-starter-mail'
// OAuth
implementation 'org.springframework.security:spring-security-oauth2-client'
// JSON
implementation 'org.json:json:20210307'
//spotify api
implementation 'se.michaelthelin.spotify:spotify-web-api-java:8.0.0'
//queryDSL
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
annotationProcessor "com.querydsl:querydsl-apt:${dependencyManagement.importedProperties['querydsl.version']}:jakarta"
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
//log๋จ๊ธฐ๊ธฐ
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.9.0'
//aws
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
}
//spotify api
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
tasks.named('test') {
useJUnitPlatform()
}
// Querydsl ์ค์ ๋ถ
def generated = 'src/main/generated'
// querydsl QClass ํ์ผ ์์ฑ ์์น๋ฅผ ์ง์
tasks.withType(JavaCompile) {
options.getGeneratedSourceOutputDirectory().set(file(generated))
}
// java source set ์ querydsl QClass ์์น ์ถ๊ฐ
sourceSets {
main.java.srcDirs += [ generated ]
}
// gradle clean ์์ QClass ๋๋ ํ ๋ฆฌ ์ญ์
clean {
delete file(generated)
}
jar {
enabled = false
}