-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
72 lines (57 loc) · 1.77 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
plugins {
id 'java'
id 'application'
id 'org.springframework.boot' version '2.7.18'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group 'com.softwaii.capivara'
repositories {
mavenCentral()
maven { url 'https://jitpack.io/' }
}
application {
mainClass = 'com.softawii.capivara.Main'
}
springBoot {
buildInfo()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
implementation ('org.springframework.boot:spring-boot-starter-data-jpa:2.7.18') {
exclude module: 'spring-boot-starter-logging'
}
implementation 'javax.xml.bind:jaxb-api:2.3.1'
implementation 'com.h2database:h2:2.1.212'
implementation 'org.postgresql:postgresql:42.3.6'
implementation("net.dv8tion:JDA:5.1.0") {
exclude module: 'opus-java'
}
implementation("com.github.Softawii:curupira:v1.1.0") {
exclude module: 'slf4j-simple'
changing = true
}
implementation 'org.apache.logging.log4j:log4j-slf4j2-impl:2.24.1'
implementation 'io.micrometer:micrometer-registry-prometheus:1.10.13'
implementation 'io.micrometer:micrometer-tracing-bridge-brave:1.0.12'
implementation ('org.springframework.boot:spring-boot-starter-actuator:2.7.0') {
exclude module: 'spring-boot-starter-logging'
}
implementation ('org.springframework.boot:spring-boot-starter-web:2.7.0') {
exclude module: 'spring-boot-starter-logging'
}
}
tasks.register('deploy') {
jar {
enabled = false
}
bootJar {
archiveFileName = "CapivaraBot.jar"
}
dependsOn 'bootJar'
}
test {
useJUnitPlatform()
}
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21