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 {
|
2011-11-21 05:03:24 -05:00
|
|
|
infinispanVersion = '5.1.0.CR1'
|
2010-10-15 12:24:44 -04:00
|
|
|
jnpVersion = '5.0.3.GA'
|
2010-10-09 14:55:13 -04:00
|
|
|
|
2010-10-15 12:24:44 -04:00
|
|
|
compile(project(':hibernate-core'))
|
2011-11-21 05:03:24 -05:00
|
|
|
compile([group: 'org.rhq.helpers', name: 'rhq-pluginAnnotations', version: '3.0.4'])
|
|
|
|
compile([group: 'org.infinispan', name: 'infinispan-core', version: infinispanVersion])
|
2010-10-15 12:24:44 -04:00
|
|
|
testCompile([group: 'org.infinispan', name: 'infinispan-core', version: infinispanVersion]) {
|
|
|
|
artifact {
|
|
|
|
name = "infinispan-core"
|
|
|
|
type = 'jar'
|
|
|
|
}
|
|
|
|
artifact {
|
|
|
|
name = "infinispan-core"
|
|
|
|
classifier = 'tests'
|
|
|
|
type = 'jar'
|
|
|
|
}
|
|
|
|
}
|
2011-03-12 13:19:56 -05:00
|
|
|
testCompile( project(':hibernate-testing') )
|
2010-10-15 12:24:44 -04:00
|
|
|
testCompile([group: 'org.jboss', name: 'jboss-common-core', version: '2.2.14.GA'])
|
|
|
|
testCompile([group: 'org.jboss.naming', name: 'jnp-client', version: jnpVersion])
|
|
|
|
testCompile([group: 'org.jboss.naming', name: 'jnpserver', version: jnpVersion])
|
|
|
|
testCompile([group: 'org.rhq.helpers', name: 'rhq-pluginAnnotations', version: '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'
|
|
|
|
// systemProperties['log4j.configuration'] = 'file:/log4j/log4j-infinispan.xml'
|
|
|
|
enabled = true
|
2010-10-09 14:55:13 -04:00
|
|
|
}
|
|
|
|
|