-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
81 lines (62 loc) · 2.26 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
plugins {
id 'org.springframework.boot' version '3.3.2'
id 'io.spring.dependency-management' version '1.1.0'
id 'java'
}
group = 'com.moneygement.lyf.jarvis'
version = '0.0.1'
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
// Log4js
all*.exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
all*.exclude group: 'org.springframework.boot', module: 'logback-classic'
}
dependencies {
// Spring Boot Starter Dependencies
implementation 'org.springframework.boot:spring-boot-starter-web'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
implementation 'org.springframework.boot:spring-boot-starter-validation'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// Spring AI
implementation platform('org.springframework.ai:spring-ai-bom:1.0.0-M1')
implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter'
// Spring Boot JPA Dependencies
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// Thymeleaf
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
// MySQL Dependencies
runtimeOnly 'com.mysql:mysql-connector-j'
// P6Spy
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.9.1'
// Lombok Dependency
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// Swagger API Docs
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0'
// Apache Commons Lang3
implementation 'org.apache.commons:commons-lang3'
// Guava
implementation 'com.google.guava:guava:33.3.0-jre'
// Mapstruct
implementation 'org.mapstruct:mapstruct:1.6.0'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.6.0'
// Log4j2
implementation 'org.springframework.boot:spring-boot-starter-log4j2'
implementation 'org.apache.logging.log4j:log4j-layout-template-json'
}
tasks.named('test') {
useJUnitPlatform()
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}