-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
106 lines (85 loc) · 3.17 KB
/
build.gradle
File metadata and controls
106 lines (85 loc) · 3.17 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
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
plugins {
id 'java-library'
id 'org.springframework.boot'
id 'io.spring.dependency-management'
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
}
}
allprojects {
group = "${projectGroup}"
version = "${applicationVersion}"
sourceCompatibility = project.javaVersion
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
bootJar.enabled = false
jar.enabled = true
dependencies {
// ============== Utils & Libraries ==============
// Lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
}
tasks.named('test') {
useJUnitPlatform()
}
}
dependencies {
// ============== Spring Boot Starters ==============
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// ============== Database & Persistence ==============
// MySQL
runtimeOnly 'com.mysql:mysql-connector-j'
// QueryDSL
implementation 'com.querydsl:querydsl-jpa::jakarta'
annotationProcessor 'com.querydsl:querydsl-apt::jakarta'
annotationProcessor 'jakarta.annotation:jakarta.annotation-api'
annotationProcessor 'jakarta.persistence:jakarta.persistence-api'
// QueryDSL BaseEntity
annotationProcessor project(':wss-common')
// ============== Security & JWT ==============
// JWT
implementation group: 'io.jsonwebtoken', name: 'jjwt-api', version: "${jjwtVersion}"
implementation group: 'io.jsonwebtoken', name: 'jjwt-impl', version: "${jjwtVersion}"
implementation group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: "${jjwtVersion}"
// Apple Login
implementation 'com.nimbusds:nimbus-jose-jwt:3.10'
// ============== Utils & Libraries ==============
// Lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// JSON
implementation "com.googlecode.json-simple:json-simple:${jsonSimpleVersion}"
// ============== External Services ==============
// FCM (Firebase Cloud Messaging)
implementation "com.google.firebase:firebase-admin:${firebaseAdminVersion}"
// S3 Mapping Library
api "com.github.Team-WSS:WSS-Server-S3:${wssS3Version}"
// ============== Project Modules ==============
implementation project(':wss-service-support')
implementation project(':wss-common')
// ============== Test ==============
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}
tasks.named('test') {
useJUnitPlatform()
}