Create smack-streammanagement project and move o.j.smack.sm code there

This commit is contained in:
Florian Schmaus 2020-08-15 14:03:57 +02:00
parent 89c5895ab3
commit 317e391da5
23 changed files with 33 additions and 2 deletions

View File

@ -16,6 +16,7 @@ include 'smack-core',
'smack-resolver-javax', 'smack-resolver-javax',
'smack-sasl-javax', 'smack-sasl-javax',
'smack-sasl-provided', 'smack-sasl-provided',
'smack-streammanagement',
'smack-legacy', 'smack-legacy',
'smack-jingle-old', 'smack-jingle-old',
'smack-bosh', 'smack-bosh',

View File

@ -0,0 +1,8 @@
description = """\
Smack support for XMPP Stream Management (XEP-0198)."""
dependencies {
api project(':smack-core')
testFixturesApi(testFixtures(project(":smack-core")))
}

View File

@ -3,6 +3,7 @@ Smack for standard XMPP connections over TCP."""
dependencies { dependencies {
compile project(':smack-core') compile project(':smack-core')
api project(':smack-streammanagement')
testFixturesApi(testFixtures(project(":smack-core"))) testFixturesApi(testFixtures(project(":smack-core")))
} }

View File

@ -1,6 +1,6 @@
/** /**
* *
* Copyright © 2014 Florian Schmaus * Copyright © 2014-2020 Florian Schmaus
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.jivesoftware.smack.sm.predicates; package org.jivesoftware.smack.sm.predicates.tcp;
import org.jivesoftware.smack.filter.StanzaFilter; import org.jivesoftware.smack.filter.StanzaFilter;
import org.jivesoftware.smack.packet.Stanza; import org.jivesoftware.smack.packet.Stanza;

View File

@ -0,0 +1,21 @@
/**
*
* Copyright 2020 Florian Schmaus
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* XMPPTCPConnection Stream Managment Predicates.
*/
package org.jivesoftware.smack.sm.predicates.tcp;