enable gradle application plugin

This commit is contained in:
MCOfficer
2023-11-08 12:00:44 +01:00
parent 20f27f3e4d
commit 16f5635a51

View File

@@ -1,5 +1,6 @@
plugins {
id 'java-library'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
@@ -51,6 +52,8 @@ dependencies {
implementation 'org.slf4j:slf4j-nop:1.7.36'
}
mainClassName = "com.sheepit.client.standalone.Worker"
jar {
manifest {
attributes "Main-Class": "com.sheepit.client.standalone.Worker"