mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-14 19:42:05 +01:00
3d4e7938a7
ExtensionElement is now a marker interface that requires all implementation non-abstract classes to carry a static final QNAME field (of type QName). This is verified by a new unit test. Also FullyQualifiedElement is renamed to simply XmlElement. XmlElement is used over ExtensionElement when implementing classes do not statically know the qualified name of the XML elements they represent. In general, XmlElement should be used sparingly, and every XML element should be modeled by its own Java class (implementing ExtensionElement).
27 lines
1 KiB
Groovy
27 lines
1 KiB
Groovy
apply plugin: 'application'
|
|
|
|
description = """\
|
|
Smack integration tests."""
|
|
|
|
mainClassName = 'org.igniterealtime.smack.inttest.SmackIntegrationTestFramework'
|
|
applicationDefaultJvmArgs = ["-enableassertions"]
|
|
|
|
dependencies {
|
|
api project(':smack-java8-full')
|
|
api project(':smack-resolver-dnsjava')
|
|
implementation project(':smack-websocket-java11')
|
|
implementation "com.google.guava:guava:${guavaVersion}"
|
|
// Do not upgrade to a higher reflections version until
|
|
// https://github.com/ronmamo/reflections/issues/273 is fixed.
|
|
implementation "org.reflections:reflections:${orgReflectionsVersion}"
|
|
api 'eu.geekplace.javapinning:java-pinning-java7:1.1.0-alpha1'
|
|
implementation group: 'commons-io', name: 'commons-io', version: "$commonsIoVersion"
|
|
api "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
|
testFixturesApi(testFixtures(project(":smack-core")))
|
|
testImplementation "org.jxmpp:jxmpp-jid:$jxmppVersion:tests"
|
|
}
|
|
|
|
run {
|
|
// Pass all system properties down to the "application" run
|
|
systemProperties System.getProperties()
|
|
}
|