xmpp_sync/build.gradle
2017-08-11 13:47:54 +02:00

38 lines
912 B
Groovy

group 'de.vanitasvitae.xmpp_sync'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'idea'
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
}
ext {
smackVersion="4.3.0-alpha1-SNAPSHOT"
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
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"
compile 'commons-cli:commons-cli:1.4'
}
jar {
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
exclude "META-INF/*.SF"
exclude "META-INF/LICENSE"
}
manifest {
attributes(
'Main-Class': 'de.vanitasvitae.sync_client.Main'
)
}
}