-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
69 lines (61 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.0.1'
id 'io.spring.dependency-management' version '1.1.0'
id "org.springdoc.openapi-gradle-plugin" version '1.6.0'
}
group = 'org.analyzer'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = '19'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
configureEach {
resolutionStrategy {
exclude group: "com.sun.activation", module: "jakarta.activation"
}
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-elasticsearch'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'org.springframework.session:spring-session-core'
implementation 'org.springframework.session:spring-session-data-redis'
implementation 'org.springframework:spring-aspects'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
implementation 'org.telegram:telegrambots:6.5.0'
implementation 'org.telegram:telegrambotsextensions:6.5.0'
implementation 'commons-io:commons-io:2.11.0'
implementation 'org.apache.lucene:lucene-core:9.5.0'
implementation 'org.apache.lucene:lucene-queryparser:9.5.0'
implementation 'org.apache.commons:commons-compress:1.22'
implementation 'org.asynchttpclient:async-http-client:2.12.3'
implementation 'de.flapdoodle.embed:de.flapdoodle.embed.mongo:3.5.3'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}
springBoot {
buildInfo()
}
openApi {
outputDir.set(file("$buildDir/docs"))
outputFileName.set("openapi.json")
}
tasks.named('test') {
useJUnitPlatform()
}
tasks.withType(JavaCompile).each {
it.options.compilerArgs.add('--enable-preview')
it.options.compilerArgs.add('-Xlint:preview')
}