-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (43 loc) · 1.5 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.5'
id 'io.spring.dependency-management' version '1.1.6'
id 'com.palantir.git-version' version '3.1.0'
id "com.gorylenko.gradle-git-properties" version "2.4.2"
}
group = 'eu.kaesebrot.dev.pizzabot'
version = gitVersion()
java {
sourceCompatibility = JavaVersion.VERSION_21
}
gitProperties {
failOnNoGitDirectory = false
}
springBoot {
buildInfo()
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'org.telegram:telegrambots-spring-boot-starter:6.9.7.1'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.xerial:sqlite-jdbc:3.48.0.0'
implementation 'org.hibernate.orm:hibernate-community-dialects'
implementation 'org.apache.commons:commons-lang3:3.17.0'
implementation 'org.apache.commons:commons-csv:1.13.0'
implementation 'javax.xml.bind:jaxb-api:2.3.1'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
runtimeOnly 'org.postgresql:postgresql'
}
tasks.named('test') {
useJUnitPlatform()
systemProperty "file.encoding", "utf-8"
}