File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments