Skip to content

Commit 31910a4

Browse files
chore: add build.gradle.kts for datamutex service
Took 54 seconds
1 parent 3203284 commit 31910a4

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

service.datamutex/build.gradle.kts

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2+
3+
plugins {
4+
java
5+
application
6+
id("io.github.goooler.shadow") version "8.1.7"
7+
}
8+
9+
group = "net.swofty"
10+
version = "3.0"
11+
12+
java {
13+
sourceCompatibility = JavaVersion.VERSION_21
14+
targetCompatibility = JavaVersion.VERSION_21
15+
toolchain {
16+
languageVersion.set(JavaLanguageVersion.of(21))
17+
}
18+
}
19+
20+
repositories {
21+
maven("https://jitpack.io")
22+
}
23+
24+
dependencies {
25+
implementation(project(":service.generic"))
26+
implementation(project(":commons"))
27+
implementation("com.github.ben-manes.caffeine:caffeine:3.1.8")
28+
}
29+
30+
application {
31+
mainClass.set("net.swofty.service.datamutex.DataMutexService")
32+
}
33+
34+
tasks {
35+
named<ShadowJar>("shadowJar") {
36+
archiveBaseName.set("ServiceDataMutex")
37+
archiveClassifier.set("")
38+
archiveVersion.set("")
39+
}
40+
}

0 commit comments

Comments
 (0)