-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (42 loc) · 1.42 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
plugins {
id 'org.springframework.boot' version '2.4.2'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains:annotations:19.0.0'
// Spring Boot Starter
testImplementation ('org.springframework.boot:spring-boot-starter-test')
// Lombok
implementation ('org.projectlombok:lombok')
compileOnly ('org.projectlombok:lombok:1.18.16')
annotationProcessor ('org.projectlombok:lombok:1.18.16')
// DB
runtimeOnly ('mysql:mysql-connector-java') //mysql8
//runtimeOnly 'mysql:mysql-connector-java:5.1.47' //mysql5
implementation ('org.springframework.boot:spring-boot-starter-jdbc')
implementation ('org.springframework.boot:spring-boot-starter-data-jpa')
// Web
implementation ('org.springframework.boot:spring-boot-starter-web')
// Security, Authentication
implementation('org.springframework.boot:spring-boot-starter-security')
compile(group: 'io.jsonwebtoken', name: 'jjwt', version: '0.7.0')
compile('io.jsonwebtoken:jjwt:0.9.0')
implementation('org.springframework.boot:spring-boot-starter')
}
test {
useJUnitPlatform()
}