2011-02-16 17:14:27 -05:00
|
|
|
apply plugin: 'java'
|
|
|
|
|
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
|
|
|
infinispanVersion = '5.1.2.CR1'
|
|
|
|
jnpVersion = '5.0.3.GA'
|
2010-10-09 14:55:13 -04:00
|
|
|
|
2012-03-09 14:34:02 -05:00
|
|
|
compile project( ':hibernate-core' )
|
|
|
|
compile "org.infinispan:infinispan-core:${infinispanVersion}"
|
|
|
|
compile "org.rhq.helpers:rhq-pluginAnnotations:3.0.4"
|
|
|
|
|
|
|
|
testCompile project( ':hibernate-testing' )
|
|
|
|
testCompile "org.infinispan:infinispan-core:${infinispanVersion}:tests@jar"
|
|
|
|
testCompile "org.jboss:jboss-common-core:2.2.14.GA"
|
|
|
|
testCompile "org.jboss.naming:jnp-client:${jnpVersion}"
|
|
|
|
testCompile "org.jboss.naming:jnpserver:${jnpVersion}"
|
|
|
|
testCompile "org.rhq.helpers:rhq-pluginAnnotations:1.4.0.B01"
|
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
|
|
|
}
|
|
|
|
|