mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-24 23:32:05 +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:
parent
f37682d980
commit
da7f4495dc
3 changed files with 2 additions and 16 deletions
|
@ -35,23 +35,9 @@ task dnsJar(type: Jar) {
|
||||||
include('org/jivesoftware/smack/initializer/**')
|
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 {
|
artifacts {
|
||||||
compression compressionJar
|
compression compressionJar
|
||||||
dns dnsJar
|
dns dnsJar
|
||||||
sasl saslJar
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class CreateFileTask extends DefaultTask {
|
class CreateFileTask extends DefaultTask {
|
||||||
|
|
|
@ -3,6 +3,6 @@ SASL with javax.security.sasl
|
||||||
Use javax.security.sasl for SASL."""
|
Use javax.security.sasl for SASL."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(path: ':smack-core', configuration: 'sasl')
|
compile project(path: ':smack-core')
|
||||||
testCompile project(':smack-core').sourceSets.test.runtimeClasspath
|
testCompile project(':smack-core').sourceSets.test.runtimeClasspath
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,6 @@ SASL with Smack provided code
|
||||||
Use Smack provided code for SASL."""
|
Use Smack provided code for SASL."""
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(path: ':smack-core', configuration: 'sasl')
|
compile project(path: ':smack-core')
|
||||||
testCompile project(':smack-core').sourceSets.test.runtimeClasspath
|
testCompile project(':smack-core').sourceSets.test.runtimeClasspath
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue