-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
84 lines (64 loc) · 1.94 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
plugins {
id 'org.springframework.boot' version '2.5.5'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'jacoco'
}
group = 'com.jobits.dsm'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '16'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
// jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// db connectors
testImplementation 'com.h2database:h2'
runtimeOnly 'mysql:mysql-connector-java'
// web
implementation 'org.springframework.boot:spring-boot-starter-web'
// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
// security
implementation 'org.springframework.boot:spring-boot-starter-security'
// validation
implementation 'org.springframework.boot:spring-boot-starter-validation'
// jjwt
implementation 'io.jsonwebtoken:jjwt:0.9.1'
// aws
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.0.1.RELEASE'
// querydsl
implementation 'com.querydsl:querydsl-jpa'
annotationProcessor(
"javax.persistence:javax.persistence-api",
"javax.annotation:javax.annotation-api",
"com.querydsl:querydsl-apt:4.4.0:jpa")
// configuration
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
// redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'it.ozimov:embedded-redis:0.7.2'
}
test {
useJUnitPlatform()
finalizedBy 'jacocoTestReport'
}
jacocoTestReport {
reports {
html.required.set(true)
xml.required.set(true)
}
}
tasks.jar {
enabled = false
}