diff --git a/build.gradle b/build.gradle index 3eee9f5..d002c6c 100644 --- a/build.gradle +++ b/build.gradle @@ -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"