enable gradle application plugin
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
|
id 'application'
|
||||||
id 'com.github.johnrengelman.shadow' version '7.1.2'
|
id 'com.github.johnrengelman.shadow' version '7.1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -51,6 +52,8 @@ dependencies {
|
|||||||
implementation 'org.slf4j:slf4j-nop:1.7.36'
|
implementation 'org.slf4j:slf4j-nop:1.7.36'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mainClassName = "com.sheepit.client.standalone.Worker"
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
manifest {
|
manifest {
|
||||||
attributes "Main-Class": "com.sheepit.client.standalone.Worker"
|
attributes "Main-Class": "com.sheepit.client.standalone.Worker"
|
||||||
|
|||||||
Reference in New Issue
Block a user