-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
48 lines (39 loc) · 1.07 KB
/
build.gradle
File metadata and controls
48 lines (39 loc) · 1.07 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 'com.gradleup.shadow' version '8.3.0'
id 'java'
}
group = 'com.sidpatchy.czdsclient'
version = '1.0.0'
repositories {
mavenCentral()
}
dependencies {
implementation 'commons-cli:commons-cli:1.4'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
implementation 'org.apache.logging.log4j:log4j-api:2.22.1'
implementation 'org.apache.logging.log4j:log4j-core:2.22.1'
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
jar {
manifest.attributes(
'Main-Class': 'com.sidpatchy.czdsclient.Main',
'Multi-Release': 'true'
)
}
processResources {
// This block will expand variables in resource files
filesMatching('**/*.properties') { // You can change the pattern to match your files
expand(projectVersion: project.version)
}
}
test {
useJUnitPlatform()
}
shadowJar {
archiveClassifier.set('')
manifest.attributes(
'Main-Class': 'com.sidpatchy.czdsclient.Main'
)
mergeServiceFiles()
}