-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
61 lines (49 loc) · 1.43 KB
/
Copy pathbuild.gradle
File metadata and controls
61 lines (49 loc) · 1.43 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
plugins {
id 'org.springframework.boot' version '2.2.5.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
}
group 'ru.miroha'
version '1.0'
compileJava {
sourceCompatibility = 11
targetCompatibility = 11
}
repositories {
mavenCentral()
}
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
tasks.withType(Test) {
useJUnitPlatform()
jvmArgs '--enable-preview'
}
dependencies {
//Spring
developmentOnly 'org.springframework.boot:spring-boot-devtools'
implementation 'org.springframework.boot:spring-boot-starter-web:2.2.5.RELEASE'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb:2.2.5.RELEASE'
//Lombok
compileOnly 'org.projectlombok:lombok:1.18.12'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
//Telegram Bot API
implementation 'org.telegram:telegrambots-spring-boot-starter:4.4.0.2'
//Other tools
implementation 'com.vdurmont:emoji-java:5.1.1'
implementation 'org.jsoup:jsoup:1.12.1'
implementation 'org.apache.commons:commons-lang3:3.11'
//JUnit
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.6.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.2'
}