-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
99 lines (82 loc) · 2.77 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.2'
id 'io.spring.dependency-management' version '1.1.6'
id 'com.diffplug.spotless' version '6.23.3'
}
group = 'xyz'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testRuntimeOnly 'com.h2database:h2'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// JWT
implementation 'com.auth0:java-jwt:4.4.0'
// Validation
implementation 'org.springframework.boot:spring-boot-starter-validation'
// Swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.5.0'
// Querydsl
implementation 'io.github.openfeign.querydsl:querydsl-core:6.5'
implementation 'io.github.openfeign.querydsl:querydsl-jpa:6.5'
annotationProcessor 'io.github.openfeign.querydsl:querydsl-apt:6.4:jpa'
annotationProcessor 'jakarta.persistence:jakarta.persistence-api'
annotationProcessor 'jakarta.annotation:jakarta.annotation-api'
// FCM
implementation 'com.google.firebase:firebase-admin:6.8.1'
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.2.2'
implementation 'com.google.code.gson:gson:2.10.1'
// S3
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
implementation 'io.github.cdimascio:java-dotenv:5.2.2'
implementation 'commons-fileupload:commons-fileupload:1.4'
//
implementation 'org.springframework.boot:spring-boot-starter-logging:3.3.2'
implementation 'org.slf4j:slf4j-api:2.0.5'
implementation 'ch.qos.logback:logback-classic:1.4.5'
}
test {
useJUnitPlatform()
}
jar {
enabled = false
}
spotless {
format 'misc', {
target '**/*.gradle', '**/*.md'
trimTrailingWhitespace()
indentWithSpaces(4)
endWithNewline()
}
java {
removeUnusedImports()
palantirJavaFormat()
formatAnnotations()
}
yaml {
target '**/*.yml'
prettier()
}
}