telegram_backup/build.gradle

34 lines
542 B
Groovy
Raw Normal View History

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
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) }
}
}