-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (37 loc) · 1.29 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
group = 'org.sandbox'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
shadowJar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
archiveFileName = "app.jar"
archiveClassifier = 'fat'
manifest {
attributes(
'Implementation-Title': jar.archiveBaseName,
'Implementation-Version': archiveVersion,
'Multi-Release': 'true',
'Main-Class': 'org.sandbox.Main',
)
}
mergeServiceFiles()
with jar
}
dependencies {
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.23.1'
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.23.1'
implementation group: 'io.vertx', name: 'vertx-core', version: '4.5.8'
implementation group: 'io.vertx', name: 'vertx-web', version: '4.5.8'
implementation group: 'io.vertx', name: 'vertx-web-client', version: '4.5.8'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.17.1'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.14.0'
}