-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (34 loc) · 1.15 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
plugins {
id 'java'
}
group = 'hu.czompi'
version = '1.0.1'
repositories {
mavenCentral()
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.28'
annotationProcessor 'org.projectlombok:lombok:1.18.28'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'org.apache.logging.log4j:log4j-core:3.0.0-alpha1'
implementation 'org.apache.logging.log4j:log4j:3.0.0-alpha1'
}
jar {
manifest {
attributes([
'Main-Class' : 'hu.czompi.ch_app.Main',
"Specification-Title" : "ch-app",
"Specification-Vendor" : "Czompi",
"Specification-Version" : "1",
"Implementation-Title" : "CH APP",
"Implementation-Version" : version,
"Implementation-Vendor" : "Czompi",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
"Automatic-Module-Name" : "hu.czompi.ch_app"
])
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}