2017-04-22 21:17:23 +02:00
|
|
|
apply plugin: 'java'
|
2017-04-23 11:26:31 +02:00
|
|
|
apply plugin: 'eclipse'
|
2017-05-08 15:28:01 +02:00
|
|
|
apply plugin: 'idea'
|
2017-04-22 21:17:23 +02:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
2017-04-23 11:26:31 +02:00
|
|
|
maven {
|
|
|
|
url 'https://oss.sonatype.org/content/repositories/snapshots'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ext {
|
2018-06-09 15:27:16 +02:00
|
|
|
smackVersion="4.4.0-alpha1-SNAPSHOT"
|
2017-04-22 21:17:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-04-23 11:26:31 +02:00
|
|
|
compile "org.igniterealtime.smack:smack-java7:$smackVersion"
|
|
|
|
compile "org.igniterealtime.smack:smack-omemo-signal:$smackVersion"
|
|
|
|
compile "org.igniterealtime.smack:smack-resolver-dnsjava:$smackVersion"
|
|
|
|
compile "org.igniterealtime.smack:smack-tcp:$smackVersion"
|
2017-04-23 12:11:11 +02:00
|
|
|
|
|
|
|
compile "org.jline:jline:3.2.0"
|
2017-04-22 21:17:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
|
|
|
|
exclude "META-INF/*.SF"
|
|
|
|
exclude "META-INF/LICENSE"
|
|
|
|
}
|
|
|
|
manifest {
|
|
|
|
attributes(
|
2017-04-23 15:33:29 +02:00
|
|
|
'Main-Class': 'Main'
|
2017-04-22 21:17:23 +02:00
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|