mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 20:42:06 +01:00
2f667f95a8
and FileTestUtil in favor of commons-io. This is required because Eclipse won't put src/test code into the classpath of src/main code (even though gradle was configured with an according dependency).
35 lines
1.3 KiB
Groovy
35 lines
1.3 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 'org.reflections:reflections:0.9.11'
|
|
compile 'eu.geekplace.javapinning:java-pinning-java7:1.1.0-alpha1'
|
|
compile group: 'commons-io', name: 'commons-io', version: "$commonsIoVersion"
|
|
// 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"
|
|
compile 'junit:junit:4.12'
|
|
// Add Junit 5 API for e.g. assertThrows()
|
|
implementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
|
testCompile project(path: ":smack-core", configuration: "testRuntime")
|
|
testCompile "org.jxmpp:jxmpp-jid:$jxmppVersion:tests"
|
|
}
|
|
|
|
run {
|
|
// Pass all system properties down to the "application" run
|
|
systemProperties System.getProperties()
|
|
}
|