From 328b91119230ee825062b7f8ab9a28bff0388d84 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Sat, 9 Oct 2010 13:31:54 -0500 Subject: [PATCH] HHH-5616 - Switch to Gradle for builds .. c3p0 --- connection-proxool/pom.xml | 32 ------------------- hibernate-c3p0/hibernate-c3p0.gradle | 1 + hibernate-proxool/hibernate-proxool.gradle | 7 ++++ .../connection/ProxoolConnectionProvider.java | 0 settings.gradle | 1 + 5 files changed, 9 insertions(+), 32 deletions(-) delete mode 100644 connection-proxool/pom.xml create mode 100644 hibernate-proxool/hibernate-proxool.gradle rename {connection-proxool => hibernate-proxool}/src/main/java/org/hibernate/connection/ProxoolConnectionProvider.java (100%) diff --git a/connection-proxool/pom.xml b/connection-proxool/pom.xml deleted file mode 100644 index ccfddb9676..0000000000 --- a/connection-proxool/pom.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - 4.0.0 - - - org.hibernate - hibernate-parent - 3.6.0-SNAPSHOT - ../parent/pom.xml - - - org.hibernate - hibernate-proxool - jar - - Hibernate Proxool ConnectionProvider - Proxool-based implementation of the Hibernate ConnectionProvder contract - - - - ${groupId} - hibernate-core - ${version} - - - proxool - proxool - 0.8.3 - - - diff --git a/hibernate-c3p0/hibernate-c3p0.gradle b/hibernate-c3p0/hibernate-c3p0.gradle index c74507b936..deb030c947 100644 --- a/hibernate-c3p0/hibernate-c3p0.gradle +++ b/hibernate-c3p0/hibernate-c3p0.gradle @@ -3,4 +3,5 @@ apply plugin: 'java' dependencies { compile( project( ':hibernate-core' ) ) compile( [group: 'c3p0', name: 'c3p0', version: '0.9.1'] ) + testCompile( project(':hibernate-core').sourceSets.test.classes ) } \ No newline at end of file diff --git a/hibernate-proxool/hibernate-proxool.gradle b/hibernate-proxool/hibernate-proxool.gradle new file mode 100644 index 0000000000..a6358c1721 --- /dev/null +++ b/hibernate-proxool/hibernate-proxool.gradle @@ -0,0 +1,7 @@ +apply plugin: 'java' + +dependencies { + compile( project( ':hibernate-core' ) ) + compile( [group: 'proxool', name: 'proxool', version: '0.8.3'] ) + testCompile( project(':hibernate-core').sourceSets.test.classes ) +} diff --git a/connection-proxool/src/main/java/org/hibernate/connection/ProxoolConnectionProvider.java b/hibernate-proxool/src/main/java/org/hibernate/connection/ProxoolConnectionProvider.java similarity index 100% rename from connection-proxool/src/main/java/org/hibernate/connection/ProxoolConnectionProvider.java rename to hibernate-proxool/src/main/java/org/hibernate/connection/ProxoolConnectionProvider.java diff --git a/settings.gradle b/settings.gradle index 6a5c336fc9..85fcce91ca 100644 --- a/settings.gradle +++ b/settings.gradle @@ -3,6 +3,7 @@ include 'hibernate-entitymanager' include 'hibernate-envers' include 'hibernate-c3p0' +include 'hibernate-proxool' rootProject.children.each { project ->