-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
68 lines (52 loc) · 1.89 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
plugins {
id 'org.springframework.boot' version '2.7.11'
id 'io.spring.dependency-management' version '1.1.0'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 11
targetCompatibility = 11
compileJava.options.encoding = 'UTF-8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains:annotations:24.0.1'
// Spring Boot Starter
implementation('org.springframework.boot:spring-boot-starter')
implementation('org.springframework.boot:spring-boot-starter-web')
testImplementation ('org.springframework.boot:spring-boot-starter-test')
// Lombok
implementation ('org.projectlombok:lombok')
compileOnly ('org.projectlombok:lombok:1.18.26')
annotationProcessor ('org.projectlombok:lombok:1.18.26')
// DB
// runtimeOnly ('com.mysql:mysql-connector-j') //mysql8
// implementation ('org.springframework.boot:spring-boot-starter-jdbc')
runtimeOnly("com.mysql:mysql-connector-j")
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')
implementation(group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.11.5')
implementation('io.jsonwebtoken:jjwt-api:0.11.5')
// jpa
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// Validation
implementation 'org.springframework.boot:spring-boot-starter-validation'
// model struct
implementation 'org.mapstruct:mapstruct:1.5.4.Final'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.4.Final'
// openAi
implementation 'com.theokanning.openai-gpt3-java:service:0.12.0'
}
test {
useJUnitPlatform()
}