-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
82 lines (64 loc) · 2.21 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.5'
id 'io.spring.dependency-management' version '1.1.4'
id 'com.palantir.docker' version '0.35.0'
}
group = 'org.certis.siem'
version = '1.0.0'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.projectreactor:reactor-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
implementation 'org.apache.commons:commons-csv:1.8'
implementation 'org.springdoc:springdoc-openapi-starter-webflux-ui:2.1.0'
//aws
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
// opensearch
implementation 'org.opensearch.client:opensearch-java:2.11.1'
// httpclient5
implementation 'org.apache.httpcomponents.client5:httpclient5:5.3.1'
// OpenHTMLtoPDF
implementation 'com.openhtmltopdf:openhtmltopdf-pdfbox:1.0.10'
// PDFBox Core Library
implementation 'org.apache.pdfbox:pdfbox:2.0.29'
// PDFBox FontBox
implementation 'org.apache.pdfbox:fontbox:2.0.29'
// PDFBox Tools (optional, for command line tools)
implementation 'org.apache.pdfbox:pdfbox-tools:2.0.29'
implementation 'org.springframework.boot:spring-boot-starter-data-r2dbc'
implementation 'io.asyncer:r2dbc-mysql'
// jackson LocalDateTime Serializer
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.4'
// websocket
// implementation 'org.springframework.boot:spring-boot-starter-websocket'
// spring security
implementation 'org.springframework.boot:spring-boot-starter-security'
}
tasks.named('test') {
useJUnitPlatform()
}
docker {
println(tasks.bootJar.outputs.files)
name project.name+":"+version
dockerfile file('./Dockerfile')
files tasks.bootJar.outputs.files
files file('./schema.sql')
files file('./docker-endpoint.sh')
buildArgs(['JAR_FILE':tasks.bootJar.outputs.files.singleFile.name])
}