Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
116 lines (88 loc) ยท 3.04 KB
/
Copy pathbuild.gradle
File metadata and controls
116 lines (88 loc) ยท 3.04 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
buildscript {
ext {
queryDslVersion = "5.0.0"
}
}
plugins {
id 'java'
id 'org.springframework.boot' version '3.5.3'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.ureca'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
// web
implementation 'org.springframework.boot:spring-boot-starter-web'
// DB
runtimeOnly 'org.postgresql:postgresql'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// security
implementation 'org.springframework.boot:spring-boot-starter-security'
//validation
implementation 'org.springframework.boot:spring-boot-starter-validation'
// jwt
implementation 'io.jsonwebtoken:jjwt-api:0.12.6'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.6'
// WebClient
implementation 'org.springframework.boot:spring-boot-starter-webflux'
// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
//querydsl
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
annotationProcessor "com.querydsl:querydsl-apt:${dependencyManagement.importedProperties['querydsl.version']}:jakarta"
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
// swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0'
// test
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.testcontainers:testcontainers:1.21.3'
testImplementation 'org.testcontainers:junit-jupiter:1.21.3'
testImplementation 'org.testcontainers:postgresql:1.21.3'
testImplementation 'org.testcontainers:elasticsearch:1.21.3'
// Mockito
testImplementation 'org.mockito:mockito-junit-jupiter:5.2.0'
// postGIS
implementation 'org.hibernate.orm:hibernate-spatial:6.4.0.Final'
implementation 'org.locationtech.jts:jts-core:1.19.0'
// spring batch
implementation 'org.springframework.boot:spring-boot-starter-batch'
// elasticache (Redis)
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// elasticsearch
implementation 'org.springframework.boot:spring-boot-starter-data-elasticsearch'
implementation "co.elastic.clients:elasticsearch-java:8.18.1"
// Logstash
implementation 'net.logstash.logback:logstash-logback-encoder:7.4'
//s2
implementation 'com.google.geometry:s2-geometry:2.0.0'
}
tasks.named('test') {
useJUnitPlatform()
}
def generated = 'src/main/generated'
tasks.withType(JavaCompile) {
options.getGeneratedSourceOutputDirectory().set(file(generated))
}
sourceSets {
main.java.srcDirs += [ generated ]
}
clean {
delete file(generated)
}