打包shadow jar

This commit is contained in:
loliball 2024-09-07 22:39:36 +08:00
parent 3c66c078c7
commit 285fb3108c

View File

@ -1,9 +1,10 @@
plugins {
kotlin("jvm") version "1.9.23"
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "loli.ball"
version = "1.0-SNAPSHOT"
version = "1.0"
repositories {
mavenCentral()
@ -15,6 +16,10 @@ dependencies {
testImplementation(kotlin("test"))
}
tasks.jar {
manifest.attributes["Main-Class"] = "Client"
}
tasks.test {
useJUnitPlatform()
}