We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adf561d commit a688751Copy full SHA for a688751
client/build.gradle.kts
@@ -25,7 +25,7 @@ plugins{
25
}
26
27
application {
28
- mainClassName = "HelloworldclientKt"
+ mainClass.set("HelloworldclientKt")
29
30
31
java.sourceCompatibility = JavaVersion.VERSION_18
server/build.gradle.kts
@@ -27,7 +27,13 @@ plugins{
- mainClassName = "HelloworldserverKt"
+ mainClass.set("HelloworldserverKt")
+}
32
+
33
+tasks.jar {
34
+ manifest {
35
+ attributes(mapOf("Main-Class" to "HelloworldserverKt"))
36
+ }
37
38
39
repositories {
0 commit comments