HHH-5616 - Switch to Gradle for builds .. c3p0
This commit is contained in:
parent
e21fed8304
commit
51edbb5797
|
@ -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>
|
|
@ -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 )
|
||||
}
|
|
@ -12,7 +12,7 @@ dependencies {
|
|||
}
|
||||
compile( libraries.ant )
|
||||
testCompile( libraries.testng )
|
||||
testCompile( project(':hibernate-core').sourceSets.test.classes )
|
||||
testCompile( project(':hibernate-core').sourceSets.test.classes )
|
||||
testCompile( libraries.jpa )
|
||||
testRuntime( libraries.h2 )
|
||||
testRuntime( libraries.javassist )
|
||||
|
|
|
@ -2,6 +2,8 @@ include 'hibernate-core'
|
|||
include 'hibernate-entitymanager'
|
||||
include 'hibernate-envers'
|
||||
|
||||
include 'hibernate-c3p0'
|
||||
|
||||
|
||||
rootProject.children.each { project ->
|
||||
project.buildFileName = "${project.name}.gradle"
|
||||
|
|
Loading…
Reference in New Issue