mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-05 20:51:07 +01:00
The previously used approach of
project(':smack-core').sourceSets.test.runtimeClasspath
caused the 'eclipse' target to produce duplicate classpath entries in
.classpath when run with Gradle >= 2.6. It also relied on Gradle
internals.
Instead we now use
project(path: ":smack-core", configuration: "testRuntime")
project(path: ":smack-core", configuration: "archives")
to be able to use test classes from other subprojects (usually
smack-core) in e.g. smack-extensions. The 'archives' configuration
includes the test jar.
See also https://discuss.gradle.org/t/11784
Thanks to Lari Hotari for helping with this issue.
11 lines
380 B
Groovy
11 lines
380 B
Groovy
description = """\
|
|
Smack Jingle API.
|
|
Warning: This API is beta, outdated and currenlty unmaintained."""
|
|
|
|
dependencies {
|
|
compile project(':smack-core')
|
|
compile project(':smack-extensions')
|
|
compile 'javax.media:jmf:2.1.1e'
|
|
compile files('libs/jspeex-0.9.7-jfcom.jar', 'libs/jstun.jar', 'libs/Speex.jar')
|
|
testCompile project(path: ":smack-core", configuration: "testRuntime")
|
|
}
|