-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
44 lines (36 loc) · 967 Bytes
/
Copy pathbuild.gradle
File metadata and controls
44 lines (36 loc) · 967 Bytes
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
plugins {
id 'java'
id 'application'
}
group = 'com.studlycase'
version = '0.1.0'
repositories {
mavenCentral()
}
dependencies {
implementation 'info.picocli:picocli:4.7.6'
implementation 'com.zaxxer:HikariCP:5.1.0'
implementation 'mysql:mysql-connector-java:8.0.33'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.1'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.17.1'
implementation 'org.slf4j:slf4j-api:2.0.13'
implementation 'ch.qos.logback:logback-classic:1.5.6'
testImplementation platform('org.junit:junit-bom:5.10.2')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
application {
mainClass = 'com.studlycase.queryshell.cli.Main'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
test {
useJUnitPlatform()
}
tasks.named('jar') {
manifest {
attributes 'Main-Class': application.mainClass
}
}