mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-14 03:32:06 +01:00
e98d42790a
This commit adds - SmackReactor / NIO - a framework for finite state machine connections - support for Java 8 - pretty printed XML debug output It also - reworks the integration test framework - raises the minimum Android API level to 19 - introduces XmppNioTcpConnection Furthermore fixes SMACK-801 (at least partly). Java 8 language features are available, but not all runtime library methods. For that we would need to raise the Android API level to 24 or higher.
31 lines
1.1 KiB
Groovy
31 lines
1.1 KiB
Groovy
apply plugin: 'application'
|
|
|
|
description = """\
|
|
Smack integration tests."""
|
|
|
|
mainClassName = 'org.igniterealtime.smack.inttest.SmackIntegrationTestFramework'
|
|
applicationDefaultJvmArgs = ["-enableassertions"]
|
|
|
|
dependencies {
|
|
compile project(':smack-java7')
|
|
compile project(':smack-tcp')
|
|
compile project(':smack-extensions')
|
|
compile project(':smack-experimental')
|
|
compile project(':smack-omemo')
|
|
compile project(':smack-openpgp')
|
|
compile project(':smack-debug')
|
|
compile project(path: ":smack-omemo", configuration: "testRuntime")
|
|
compile 'org.reflections:reflections:0.9.11'
|
|
compile 'eu.geekplace.javapinning:java-pinning-java7:1.1.0-alpha1'
|
|
// Note that the junit-vintage-engine runtime dependency is not
|
|
// directly required, but it declares a dependency to
|
|
// junit:junit:4.12, which we currently need in sinttest, since it
|
|
// (ab)uses @Before from org.junit
|
|
compile "org.junit.vintage:junit-vintage-engine:$junitVersion"
|
|
testCompile "org.jxmpp:jxmpp-jid:$jxmppVersion:tests"
|
|
}
|
|
|
|
run {
|
|
// Pass all system properties down to the "application" run
|
|
systemProperties System.getProperties()
|
|
}
|