hibernate-orm/gradle/libraries.gradle

156 lines
7.7 KiB
Groovy
Raw Normal View History

2012-08-22 14:41:16 -04:00
/*
* 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>.
2012-08-22 14:41:16 -04:00
*/
2012-08-08 05:09:11 -04:00
// build a map of the dependency artifacts to use. Allows centralized definition of the version of artifacts to
// use. In that respect it serves a role similar to <dependencyManagement> in Maven
ext {
2012-08-22 14:41:16 -04:00
junitVersion = '4.12'
h2Version = '1.4.196'
bytemanVersion = '4.0.0-BETA5'
infinispanVersion = '8.2.5.Final'
2012-08-22 14:41:16 -04:00
jnpVersion = '5.0.6.CR1'
hibernateValidatorVersion = '6.0.7.Final'
validationApiVersion = '2.0.1.Final'
elVersion = '3.0.1-b08'
2017-12-11 14:56:28 -05:00
cdiVersion = '2.0'
weldVersion = '3.0.0.Final'
2012-08-22 14:41:16 -04:00
javassistVersion = '3.22.0-GA'
byteBuddyVersion = '1.6.14' // Improved JDK9 compatibility
2016-07-04 05:14:29 -04:00
// Wildfly version targeted by module ZIP; Arquillian/Shrinkwrap versions used for CDI testing and testing the module ZIP
wildflyVersion = '11.0.0.Final'
arquillianVersion = '1.1.11.Final'
2016-07-04 05:14:29 -04:00
shrinkwrapVersion = '1.2.6'
shrinkwrapDescriptorsVersion = '2.0.0-alpha-8'
wildflyArquillianContainerVersion = '2.0.0.Final'
2012-08-22 14:41:16 -04:00
libraries = [
// Ant
ant: 'org.apache.ant:ant:1.8.2',
// Antlr
antlr: 'antlr:antlr:2.7.7',
// Annotations
commons_annotations: 'org.hibernate.common:hibernate-commons-annotations:5.0.1.Final',
jandex: 'org.jboss:jandex:2.0.3.Final',
classmate: 'com.fasterxml:classmate:1.3.0',
2012-08-22 14:41:16 -04:00
// Woodstox
woodstox: "org.codehaus.woodstox:woodstox-core-asl:4.3.0",
2012-08-22 14:41:16 -04:00
// Dom4J
dom4j: 'dom4j:dom4j:1.6.1@jar',
// Javassist
javassist: "org.javassist:javassist:${javassistVersion}",
2012-08-22 14:41:16 -04:00
// Byte Buddy
byteBuddy: "net.bytebuddy:byte-buddy:${byteBuddyVersion}",
2012-08-22 14:41:16 -04:00
// javax
2017-11-16 11:57:11 -05:00
jpa: 'javax.persistence:javax.persistence-api:2.2',
jta: 'org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.1.Final',
validation: "javax.validation:validation-api:${validationApiVersion}",
2013-01-23 18:22:03 -05:00
jacc: 'org.jboss.spec.javax.security.jacc:jboss-jacc-api_1.4_spec:1.0.2.Final',
interceptor: 'javax.interceptor:javax.interceptor-api:1.2',
2012-08-22 14:41:16 -04:00
// logging
logging: 'org.jboss.logging:jboss-logging:3.3.1.Final',
logging_annotations: 'org.jboss.logging:jboss-logging-annotations:2.1.0.Final',
logging_processor: 'org.jboss.logging:jboss-logging-processor:2.1.0.Final',
2012-08-22 14:41:16 -04:00
// jaxb task
jaxb: 'com.sun.xml.bind:jaxb-xjc:2.2.5',
jaxb2_basics: 'org.jvnet.jaxb2_commons:jaxb2-basics:0.6.3',
jaxb2_ant: 'org.jvnet.jaxb2_commons:jaxb2-basics-ant:0.6.3',
jaxb2_jaxb: 'org.jvnet.jaxb2_commons:jaxb2-basics-jaxb:2.2.4-1',
jaxb2_jaxb_xjc: 'org.jvnet.jaxb2_commons:jaxb2-basics-jaxb-xjc:2.2.4-1',
// Animal Sniffer Ant Task and Java 1.6 API signature file
// not using 1.9 for the time being due to MANIMALSNIFFER-34
animal_sniffer: 'org.codehaus.mojo:animal-sniffer-ant-tasks:1.13',
as_asm: 'org.ow2.asm:asm-all:5.0.3',
java16_signature: 'org.codehaus.mojo.signature:java16:1.0@signature',
//Maven plugin framework
maven_core: 'org.apache.maven:maven-core:3.0.5',
maven_artifact: 'org.apache.maven:maven-artifact:3.0.5',
maven_plugin: 'org.apache.maven:maven-plugin-api:3.0.5',
maven_plugin_tools: 'org.apache.maven.plugin-tools:maven-plugin-annotations:3.2',
2012-08-22 14:41:16 -04:00
// ~~~~~~~~~~~~~~~~~~~~~~~~~~ testing
2013-10-09 13:14:26 -04:00
log4j: "log4j:log4j:1.2.17",
2012-08-22 14:41:16 -04:00
junit: "junit:junit:${junitVersion}",
byteman: "org.jboss.byteman:byteman:${bytemanVersion}",
byteman_install: "org.jboss.byteman:byteman-install:${bytemanVersion}",
byteman_bmunit: "org.jboss.byteman:byteman-bmunit:${bytemanVersion}",
h2: "com.h2database:h2:${h2Version}",
hsqldb: "org.hsqldb:hsqldb:2.3.2",
derby: "org.apache.derby:derby:10.11.1.1",
postgresql: 'org.postgresql:postgresql:42.1.1',
mysql: 'mysql:mysql-connector-java:6.0.5',
mariadb: 'org.mariadb.jdbc:mariadb-java-client:1.5.7',
oracle: 'com.oracle.jdbc:ojdbc7:12.1.0.2',
mssql: 'com.microsoft.sqlserver:mssql-jdbc:6.1.0.jre8',
2017-05-08 04:56:35 -04:00
db2: 'com.ibm.db2:db2jcc:10.5',
hana: 'com.sap.db.jdbc:ngdbc:2.2.1', // for HANA 1 the minimum required client version is 1.120.20
informix: 'com.ibm.informix:jdbc:4.10.7.20160517',
2012-08-22 14:41:16 -04:00
jboss_jta: "org.jboss.jbossts:jbossjta:4.16.4.Final",
xapool: "com.experlog:xapool:1.5.0",
2017-09-27 06:48:09 -04:00
mockito: 'org.mockito:mockito-core:2.7.5',
mockito_inline: 'org.mockito:mockito-inline:2.7.5',
validator: "org.hibernate.validator:hibernate-validator:${hibernateValidatorVersion}",
// EL required by Hibernate Validator at test runtime
expression_language: "org.glassfish:javax.el:${elVersion}",
2012-08-22 14:41:16 -04:00
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~ infinsipan
infinispan: "org.infinispan:infinispan-core:${infinispanVersion}",
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~ infinispan test
infinispan_test: "org.infinispan:infinispan-core:${infinispanVersion}:tests@jar",
jboss_common_core: "org.jboss:jboss-common-core:2.2.16.GA@jar",
jnp_client: "org.jboss.naming:jnp-client:${jnpVersion}",
jnp_server: "org.jboss.naming:jnpserver:${jnpVersion}",
c3p0: "com.mchange:c3p0:0.9.5.2",
2016-10-20 05:41:09 -04:00
ehcache: "net.sf.ehcache:ehcache:2.10.3",
ehcache3: "org.ehcache:ehcache:3.0.0",
jcache: "javax.cache:cache-api:1.0.0",
proxool: "proxool:proxool:0.8.3",
hikaricp: "com.zaxxer:HikariCP:2.5.1",
vibur: "org.vibur:vibur-dbcp:21.3",
agroal_api: "io.agroal:agroal-api:0.4-SNAPSHOT",
agroal_pool: "io.agroal:agroal-pool:0.4-SNAPSHOT",
2017-12-11 14:56:28 -05:00
cdi: "javax.enterprise:cdi-api:${cdiVersion}",
weld: "org.jboss.weld.se:weld-se-shaded:${weldVersion}",
2016-07-04 05:14:29 -04:00
// Arquillian/Shrinkwrap
arquillian_junit_container: "org.jboss.arquillian.junit:arquillian-junit-container:${arquillianVersion}",
arquillian_protocol_servlet: "org.jboss.arquillian.protocol:arquillian-protocol-servlet:${arquillianVersion}",
2016-07-04 05:14:29 -04:00
shrinkwrap_api: "org.jboss.shrinkwrap:shrinkwrap-api:${shrinkwrapVersion}",
shrinkwrap: "org.jboss.shrinkwrap:shrinkwrap-impl-base:${shrinkwrapVersion}",
shrinkwrap_descriptors_api_javaee: "org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-javaee:${shrinkwrapDescriptorsVersion}",
shrinkwrap_descriptors_impl_javaee: "org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-impl-javaee:${shrinkwrapDescriptorsVersion}",
2012-08-22 14:41:16 -04:00
wildfly_arquillian_container_managed: "org.wildfly.arquillian:wildfly-arquillian-container-managed:${wildflyArquillianContainerVersion}",
jboss_ejb_spec_jar : 'org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:1.0.0.Final',
jboss_annotation_spec_jar : 'org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:1.0.0.Final'
2012-08-22 14:41:16 -04:00
]
2012-08-08 05:09:11 -04:00
}