-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
78 lines (70 loc) · 2.56 KB
/
build.gradle.kts
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
plugins {
id("com.gradleup.shadow") version "9.0.0-beta2"
id("java")
application
id("io.freefair.lombok") version "8.10"
}
application {
mainClass = "ru.danilarassokhin.game.GameApplication"
}
group = "ru.danilarassokhin"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
// Dependency Injection
implementation("tech.hiddenproject:progressive-api:0.7.11")
implementation("tech.hiddenproject:progressive-injection:0.7.11")
implementation("org.reflections:reflections:0.10.2")
//Web
implementation("io.netty:netty-all:4.1.113.Final")
implementation("com.fasterxml.jackson.core:jackson-core:2.17.2")
implementation("com.fasterxml.jackson.core:jackson-databind:2.17.2")
implementation("org.glassfish.expressly:expressly:6.0.0-M1")
implementation("org.hibernate.validator:hibernate-validator:8.0.1.Final")
//Util
implementation("org.apache.commons:commons-lang3:3.17.0")
implementation("tech.hiddenproject:aide-all:1.3")
//Logging
implementation("org.slf4j:slf4j-reload4j:2.0.16")
//Database
implementation("com.zaxxer:HikariCP:6.0.0")
implementation("org.postgresql:postgresql:42.7.4")
implementation("org.flywaydb:flyway-core:10.20.1")
implementation("org.flywaydb:flyway-database-postgresql:10.20.1")
implementation("net.ttddyy:datasource-proxy:1.10")
//MapStruct
implementation("org.mapstruct:mapstruct:1.6.2")
annotationProcessor("org.mapstruct:mapstruct-processor:1.6.2")
//Camunda
implementation("io.camunda:zeebe-client-java:8.6.5")
implementation("io.camunda:camunda-tasklist-client-java:8.6.5")
//Resilience
implementation("io.github.resilience4j:resilience4j-all:2.2.0")
implementation("com.google.guava:guava:33.3.1-jre")
implementation("com.github.ben-manes.caffeine:caffeine:3.1.8")
implementation("com.github.ben-manes.caffeine:jcache:3.1.8")
//Testing
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("io.camunda:zeebe-process-test-extension:8.6.5")
testImplementation("io.camunda:zeebe-process-test-assertions:8.6.5")
testImplementation("org.mockito:mockito-core:5.14.2")
}
tasks.test {
useJUnitPlatform()
}
tasks.withType(JavaCompile::class).all {
options.compilerArgs.add("--enable-preview")
}
tasks.jar {
manifest {
attributes["Main-Class"] = "ru.danilarassokhin.game.GameApplication"
}
}
tasks.shadowJar {
mergeServiceFiles()
archiveFileName = "application.jar"
}