-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
49 lines (39 loc) · 1.05 KB
/
Copy pathbuild.gradle
File metadata and controls
49 lines (39 loc) · 1.05 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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group = 'com.example'
version = '0.1.0'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'info.picocli:picocli:4.7.5'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.16.1'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.16.1'
compileOnly 'org.projectlombok:lombok:1.18.30'
annotationProcessor 'org.projectlombok:lombok:1.18.30'
// oracle 依赖
implementation 'com.oracle.database.jdbc:ojdbc11:21.9.0.0'
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1'
implementation 'org.slf4j:slf4j-api:2.0.13'
}
application {
mainClass = 'com.example.redo.App'
}
tasks.named('test') {
useJUnitPlatform()
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
tasks.named('shadowJar') {
archiveBaseName.set('redo-tool')
archiveClassifier.set('')
}