mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-14 16:22:07 +01:00
vanitasvitae
36dae1ece4
Refactor various method names to more precisely reflect what happens Introduce CachingOmemoStore, SignalCachingOmemoStore, which can be either used standalone as ephemeral OmemoStore implementations, or as wrappers around other implementations to add a cache layer for reduced storage access. Get rid of "isFreshInstallation". Keys are now - given that they don't exist - generated on startup. Bump libsignal-protocol-java to 2.6.2 Prevent offline access to some functions which require authenticated connection Create more advanced unit tests and integration tests Add async initialization function for OmemoManager Remove session handling from smack-omemo. This is now handled - in case of smack-omemo-signal - solely by libsignal-protocol-java
30 lines
1 KiB
Groovy
30 lines
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-debug')
|
|
compile project(path: ":smack-omemo", configuration: "testRuntime")
|
|
compile 'org.reflections:reflections:0.9.9-RC1'
|
|
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()
|
|
}
|