2015-03-18 09:52:33 +01:00
|
|
|
apply plugin: 'application'
|
|
|
|
|
|
|
|
description = """\
|
|
|
|
Smack integration tests."""
|
|
|
|
|
|
|
|
mainClassName = 'org.igniterealtime.smack.inttest.SmackIntegrationTestFramework'
|
2015-03-19 22:38:07 +01:00
|
|
|
applicationDefaultJvmArgs = ["-enableassertions"]
|
2015-03-18 09:52:33 +01:00
|
|
|
|
|
|
|
dependencies {
|
2020-04-04 13:03:31 +02:00
|
|
|
api project(':smack-java8-full')
|
2020-04-07 20:59:32 +02:00
|
|
|
api project(':smack-resolver-dnsjava')
|
2019-02-04 08:59:39 +01:00
|
|
|
compile 'org.reflections:reflections:0.9.11'
|
2016-04-14 22:59:22 +02:00
|
|
|
compile 'eu.geekplace.javapinning:java-pinning-java7:1.1.0-alpha1'
|
2019-09-15 23:51:26 +02:00
|
|
|
compile group: 'commons-io', name: 'commons-io', version: "$commonsIoVersion"
|
2018-05-09 19:59:39 +02:00
|
|
|
// 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"
|
2019-05-06 22:06:13 +02:00
|
|
|
compile 'junit:junit:4.12'
|
2019-07-04 16:45:28 +02:00
|
|
|
// Add Junit 5 API for e.g. assertThrows()
|
|
|
|
implementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
2020-04-11 21:59:21 +02:00
|
|
|
testFixturesApi(testFixtures(project(":smack-core")))
|
2015-03-18 09:52:33 +01:00
|
|
|
testCompile "org.jxmpp:jxmpp-jid:$jxmppVersion:tests"
|
|
|
|
}
|
|
|
|
|
|
|
|
run {
|
|
|
|
// Pass all system properties down to the "application" run
|
|
|
|
systemProperties System.getProperties()
|
|
|
|
}
|