1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 03:52:06 +01:00

Remove smack-core sasl configuration

bring every class of smack-core and its dependencies in
scope of smack-sasl-(javax|provided).
This commit is contained in:
Florian Schmaus 2014-08-12 21:54:22 +02:00
parent f37682d980
commit da7f4495dc
3 changed files with 2 additions and 16 deletions

View file

@ -35,23 +35,9 @@ task dnsJar(type: Jar) {
include('org/jivesoftware/smack/initializer/**')
}
task saslJar(type: Jar) {
appendix = 'sasl'
dependsOn classes
from sourceSets.main.output
include('org/jivesoftware/smack/SASLAuthentication.class')
include('org/jivesoftware/smack/SmackException.class')
include('org/jivesoftware/smack/XMPPConnection.class')
include('org/jivesoftware/smack/sasl/**')
include('org/jivesoftware/smack/initializer/**')
include('org/jivesoftware/smack/util/StringUtils.class')
include('org/jivesoftware/smack/util/ByteUtils.class')
}
artifacts {
compression compressionJar
dns dnsJar
sasl saslJar
}
class CreateFileTask extends DefaultTask {

View file

@ -3,6 +3,6 @@ SASL with javax.security.sasl
Use javax.security.sasl for SASL."""
dependencies {
compile project(path: ':smack-core', configuration: 'sasl')
compile project(path: ':smack-core')
testCompile project(':smack-core').sourceSets.test.runtimeClasspath
}

View file

@ -3,6 +3,6 @@ SASL with Smack provided code
Use Smack provided code for SASL."""
dependencies {
compile project(path: ':smack-core', configuration: 'sasl')
compile project(path: ':smack-core')
testCompile project(':smack-core').sourceSets.test.runtimeClasspath
}