2016-06-29 09:25:54 +00:00
|
|
|
apply plugin: 'java'
|
2016-06-30 05:47:37 +00:00
|
|
|
apply plugin: 'application'
|
|
|
|
|
2016-06-30 08:54:40 +00:00
|
|
|
mainClassName= 'de.fabianonline.telegram_backup.CommandLineRunner'
|
2016-06-30 05:47:37 +00:00
|
|
|
|
2016-07-05 05:54:35 +00:00
|
|
|
sourceCompatibility = 1.7
|
|
|
|
targetCompatibility = 1.7
|
|
|
|
|
2016-06-30 05:47:37 +00:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
url "https://jitpack.io"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile 'com.github.badoualy:kotlogram:0.0.6'
|
2016-06-30 08:54:40 +00:00
|
|
|
compile 'org.xerial:sqlite-jdbc:3.8.11.2'
|
2016-06-30 05:47:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
run {
|
|
|
|
standardInput = System.in
|
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
manifest {
|
|
|
|
attributes "Main-Class": "$mainClassName"
|
|
|
|
}
|
|
|
|
|
|
|
|
from {
|
|
|
|
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
|
|
|
}
|
|
|
|
}
|