Skip to content

Commit 676f987

Browse files
committed
Added gradle wrapper
1 parent c3f43e4 commit 676f987

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import org.jetbrains.kotlin.kapt3.base.Kapt.kapt
33

44
plugins {
55
id ("org.jetbrains.kotlin.kapt") version "1.4.30"
6+
id("com.github.johnrengelman.shadow") version "7.1.2"
67
kotlin("jvm") version "1.8.20"
78
application
89
}
@@ -66,4 +67,15 @@ tasks.jar {
6667
from(zipTree(file.absoluteFile))
6768
}
6869
duplicatesStrategy = DuplicatesStrategy.INCLUDE
70+
}
71+
72+
tasks {
73+
shadowJar {
74+
mergeServiceFiles()
75+
manifest {
76+
attributes(
77+
"Main-Class" to "org.example.MainKt"
78+
)
79+
}
80+
}
6981
}

gradle/wrapper/gradle-wrapper.jar

58.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)