|
@ -32,7 +32,18 @@ dependencies { |
|
|
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.0' |
|
|
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.0' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
mainClassName = 'de.yannicpunktdee.yoshibot.main.Main' |
|
|
|
|
|
|
|
|
application { |
|
|
application { |
|
|
// Define the main class for the application. |
|
|
// Define the main class for the application. |
|
|
mainClass = 'de.yannicpunktdee.yoshibot.main.Main' |
|
|
|
|
|
|
|
|
mainClass = "$mainClassName" |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
jar{ |
|
|
|
|
|
manifest{ |
|
|
|
|
|
attributes "Main-Class": "$mainClassName" |
|
|
|
|
|
} |
|
|
|
|
|
from { |
|
|
|
|
|
configurations.runtimeClasspath.findAll({!it.path.endsWith(".pom")}).collect { it.isDirectory() ? it : zipTree(it) } |
|
|
|
|
|
} |
|
|
} |
|
|
} |