-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
123 lines (91 loc) · 2.85 KB
/
Copy pathbuild.gradle
File metadata and controls
123 lines (91 loc) · 2.85 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
buildscript {
ext {
queryDslVersion = "4.4.0"
}
}
plugins {
// Apply the application plugin to add support for building a CLI application in Java.
id 'application'
// Spring
id 'org.springframework.boot' version '2.3.5.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
}
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
jar {
enabled = false
}
dependencies {
// JUnit Jupiter API for testing.
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2'
// AssertJ
testImplementation 'org.assertj:assertj-core:3.18.1'
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.1'
// JUnit Jupiter Engine for testing.
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
// Thymeleaf
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
// Spring Web
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
// lombok
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
// Spring Boot Test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// Spring Data JPA
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
runtimeOnly 'com.h2database:h2'
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client:3.0.7'
implementation 'mysql:mysql-connector-java'
// JWT
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.2'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.2'
// E-mail
implementation 'org.springframework.boot:spring-boot-starter-mail'
// Spring Validation
implementation 'org.springframework.boot:spring-boot-starter-validation'
// JSON Object
implementation group: 'org.json', name: 'json', version: '20090211'
//OAuth2
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
//security-test
testImplementation 'org.springframework.security:spring-security-test'
//aop
implementation 'org.springframework:spring-aop'
//redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
//swagger
implementation 'io.springfox:springfox-swagger2:2.9.2'
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
// flyway
implementation 'org.flywaydb:flyway-core:6.4.2'
// QueryDSL
implementation "com.querydsl:querydsl-jpa:${queryDslVersion}"
annotationProcessor(
"javax.persistence:javax.persistence-api",
"javax.annotation:javax.annotation-api",
"com.querydsl:querydsl-apt:${queryDslVersion}:jpa")
}
// QueryDSL
sourceSets {
main {
java {
srcDirs = ["$projectDir/src/main/java", "$projectDir/build/generated"]
}
}
}
tasks.named('test') {
useJUnitPlatform()
}