forked from 28th-meetup/28th_Meetup_BE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
104 lines (95 loc) · 3.01 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
//buildscript {
// ext {
// queryDslVersion = "5.0.0"
// }
//}
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.3'
id 'io.spring.dependency-management' version '1.1.3'
// id "com.ewerk.gradle.plugins.querydsl" version "1.0.10" //QueryDsl
}
group = 'com.kusitms'
version = '0.0.1-SNAPSHOT'
jar {
enabled = false
}
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
// querydsl.extendsFrom compileClasspath
}
repositories {
mavenCentral()
}
dependencies {
//spring data jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
//spring web
implementation 'org.springframework.boot:spring-boot-starter-web'
//spring security
implementation 'org.springframework.boot:spring-boot-starter-security'
// spring batch
implementation 'org.springframework.boot:spring-boot-starter-batch'
//aop
implementation 'org.springframework.boot:spring-boot-starter-aop'
//jwt
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
//javax validation
implementation 'javax.validation:validation-api:2.0.1.Final'
//websocket
implementation 'org.springframework.boot:spring-boot-starter-websocket'
implementation 'org.webjars:sockjs-client:1.1.2'
implementation 'org.webjars:stomp-websocket:2.3.3-1'
//swagger (spring 3.x버전이라 springfox 적용불가, springdoc 중에서 호환되는 종속성 사용)
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
//mysql (spring 3.x)
runtimeOnly 'com.mysql:mysql-connector-j'
//redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
//embedded redis - https://mvnrepository.com/artifact/it.ozimov/embedded-redis
// implementation 'it.ozimov:embedded-redis:0.7.2'
//lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testCompileOnly 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
//queryDsl
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
annotationProcessor 'com.querydsl:querydsl-apt:5.0.0:jakarta'
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
//s3 bucket (img)
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
//json-simple
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
implementation 'org.json:json:20210307'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
//firebase
implementation 'com.google.firebase:firebase-admin:9.1.1'
// test h2 database
testRuntimeOnly 'com.h2database:h2'
}
tasks.named('test') {
useJUnitPlatform()
}
//def querydslDir = "$buildDir/generated/querydsl"
//
//querydsl {
// jpa = true
// querydslSourcesDir = querydslDir
//}
//
//sourceSets {
// main.java.srcDir querydslDir
//}
//
//compileQuerydsl{
// options.annotationProcessorPath = configurations.querydsl
//}