Skip to content
Browse files

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

  • Loading branch information...
1 parent e21fed8 commit 51edbb579709a20645977e4dbc3bddee98e9253f @sebersole sebersole committed Oct 9, 2010
View
32 connection-c3p0/pom.xml
@@ -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
7 hibernate-c3p0/hibernate-c3p0.gradle
@@ -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
0 ...te/connection/C3P0ConnectionProvider.java → ...te/connection/C3P0ConnectionProvider.java
File renamed without changes.
View
2 hibernate-envers/hibernate-envers.gradle
@@ -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 )
View
2 settings.gradle
@@ -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"

0 comments on commit 51edbb5

Please sign in to comment.
Something went wrong with that request. Please try again.