mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 15:32:06 +01:00
b5f9d4d7a3
This also removes the powermock dependency. Although powermock is a fine library, it currently prevents dropping Junit4. And since we only use the Whitebox API of powermock, this simply replaced powermock's Whitebox with our own.
30 lines
1.1 KiB
Groovy
30 lines
1.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')
|
|
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"
|
|
testFixturesApi(testFixtures(project(":smack-core")))
|
|
testCompile "org.jxmpp:jxmpp-jid:$jxmppVersion:tests"
|
|
}
|
|
|
|
run {
|
|
// Pass all system properties down to the "application" run
|
|
systemProperties System.getProperties()
|
|
}
|