HHH-5616 - Switch to Gradle for builds .. c3p0

This commit is contained in:
Steve Ebersole 2010-10-09 13:27:47 -05:00
parent e21fed8304
commit 51edbb5797
5 changed files with 10 additions and 33 deletions

View File

@ -1,32 +0,0 @@
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
<version>3.6.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-c3p0</artifactId>
<packaging>jar</packaging>
<name>Hibernate C3P0 ConnectionProvider</name>
<description>C3P0-based implementation of the Hibernate ConnectionProvder contract</description>
<dependencies>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>hibernate-core</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1</version>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,7 @@
apply plugin: 'java'
dependencies {
compile( project( ':hibernate-core' ) )
compile( [group: 'c3p0', name: 'c3p0', version: '0.9.1'] )
testCompile( project(':hibernate-core').sourceSets.test.classes )
}

View File

@ -2,6 +2,8 @@ include 'hibernate-core'
include 'hibernate-entitymanager' include 'hibernate-entitymanager'
include 'hibernate-envers' include 'hibernate-envers'
include 'hibernate-c3p0'
rootProject.children.each { project -> rootProject.children.each { project ->
project.buildFileName = "${project.name}.gradle" project.buildFileName = "${project.name}.gradle"