mirror of
https://github.com/Prominence/random-kitties-telegram-bot.git
synced 2026-01-09 03:36:45 +03:00
Added possibility to build fatJar.
This commit is contained in:
parent
1e862fd8ae
commit
676aa2bed4
@ -11,6 +11,14 @@ repositories {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task fatJar(type: Jar) {
|
||||||
|
manifest {
|
||||||
|
attributes 'Main-Class': 'com.github.prominence.randomkitties.bot.Main'
|
||||||
|
}
|
||||||
|
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
|
||||||
|
with jar
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.telegram:telegrambots:4.1.2"
|
compile "org.telegram:telegrambots:4.1.2"
|
||||||
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.2'
|
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.2'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user