hibernate-orm/hibernate-spatial/hibernate-spatial.gradle

49 lines
1.4 KiB
Groovy
Raw Normal View History

import org.apache.tools.ant.filters.ReplaceTokens
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
description = 'Integrate support for Spatial/GIS data into Hibernate O/RM'
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
apply plugin: 'org.hibernate.matrix-test'
2015-04-30 00:21:38 -04:00
dependencies {
compile( project(':hibernate-core') )
compile( libraries.geolatte )
2018-04-20 07:07:31 -04:00
compile( libraries.postgresql )
2015-11-30 04:04:09 -05:00
testCompile(libraries.junit)
testCompile(project(':hibernate-testing'))
2021-03-31 15:30:35 -04:00
testCompile( project( path: ':hibernate-core', configuration: 'tests' ) )
testCompile([group: 'org.apache.commons', name: 'commons-dbcp2', version: '2.8.0'])
testCompile(libraries.validation)
testCompile(libraries.jandex)
testCompile(libraries.classmate)
testCompile(libraries.validator) {
// for test runtime
transitive = true
}
testCompile(libraries.dom4j) {
transitive = false
}
testRuntime( libraries.expression_language )
testRuntime('jaxen:jaxen:1.1')
testRuntime(libraries.byteBuddy)
}
sourceSets.test.resources {
setSrcDirs(['src/test/java', 'src/test/resources'])
}
2021-08-26 10:43:33 -04:00
tasks.test {
enabled = project.db == 'pgsql'
}