mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2024-11-16 14:06:15 +00:00
34 lines
542 B
Groovy
34 lines
542 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'application'
|
|
|
|
mainClassName= 'de.fabianonline.telegram_backup.CommandLineRunner'
|
|
|
|
sourceCompatibility = 1.7
|
|
targetCompatibility = 1.7
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "https://jitpack.io"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.github.badoualy:kotlogram:0.0.6'
|
|
compile 'org.xerial:sqlite-jdbc:3.8.11.2'
|
|
}
|
|
|
|
run {
|
|
standardInput = System.in
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes "Main-Class": "$mainClassName"
|
|
}
|
|
|
|
from {
|
|
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
}
|