2011-02-22 17:28:42 -05:00
|
|
|
configurations {
|
|
|
|
all*.exclude group: 'org.jboss.logging', module: 'jboss-logging-spi'
|
|
|
|
}
|
|
|
|
|
2010-10-09 14:55:13 -04:00
|
|
|
dependencies {
|
2012-03-09 14:34:02 -05:00
|
|
|
compile project( ':hibernate-core' )
|
2012-08-08 05:09:11 -04:00
|
|
|
compile( libraries.infinispan )
|
|
|
|
compile( libraries.rhq )
|
2012-03-09 14:34:02 -05:00
|
|
|
|
|
|
|
testCompile project( ':hibernate-testing' )
|
2012-08-08 05:09:11 -04:00
|
|
|
testCompile( libraries.infinispan_test )
|
|
|
|
testCompile( libraries.jboss_common_core )
|
|
|
|
testCompile( libraries.jnp_client )
|
|
|
|
testCompile( libraries.jnp_server )
|
|
|
|
testCompile( libraries.rhq )
|
2010-10-09 14:55:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
2010-10-15 12:24:44 -04:00
|
|
|
systemProperties['java.net.preferIPv4Stack'] = true
|
|
|
|
systemProperties['jgroups.ping.timeout'] = 500
|
|
|
|
systemProperties['jgroups.ping.num_initial_members'] = 1
|
|
|
|
systemProperties['jgroups.udp.enable_bundling'] = false
|
|
|
|
systemProperties['jgroups.bind_addr'] = 'localhost'
|
2012-01-10 13:09:01 -05:00
|
|
|
// Use Infinispan's test JGroups stack that uses TEST_PING
|
|
|
|
systemProperties['hibernate.cache.infinispan.jgroups_cfg'] = 'stacks/tcp.xml'
|
2010-10-15 12:24:44 -04:00
|
|
|
// systemProperties['log4j.configuration'] = 'file:/log4j/log4j-infinispan.xml'
|
|
|
|
enabled = true
|
2010-10-09 14:55:13 -04:00
|
|
|
}
|
|
|
|
|