You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2011/04/14 02:33:10 UTC

svn commit: r1091980 - in /tapestry/tapestry5/trunk: settings.gradle tapestry-jpa/build.gradle

Author: hlship
Date: Thu Apr 14 00:33:10 2011
New Revision: 1091980

URL: http://svn.apache.org/viewvc?rev=1091980&view=rev
Log:
TAP5-116: Add tapestry-jpa to the Gradle build

Added:
    tapestry/tapestry5/trunk/tapestry-jpa/build.gradle
Modified:
    tapestry/tapestry5/trunk/settings.gradle

Modified: tapestry/tapestry5/trunk/settings.gradle
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/settings.gradle?rev=1091980&r1=1091979&r2=1091980&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/settings.gradle (original)
+++ tapestry/tapestry5/trunk/settings.gradle Thu Apr 14 00:33:10 2011
@@ -1,6 +1,5 @@
 include "plastic", "tapestry-annotations", "tapestry-test", "tapestry-func", "tapestry-ioc", "tapestry-json", "tapestry-core"
 include "tapestry-hibernate-core", "tapestry-hibernate", "tapestry-jmx", "tapestry-upload", "tapestry-spring"
-include "tapestry-beanvalidator", "tapestry-yuicompressor"
-// TODO: tapestry-jpa
+include "tapestry-beanvalidator", "tapestry-yuicompressor", "tapestry-jpa"
 // TODO (LATER): tapestry-component-report, quickstart
 

Added: tapestry/tapestry5/trunk/tapestry-jpa/build.gradle
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-jpa/build.gradle?rev=1091980&view=auto
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-jpa/build.gradle (added)
+++ tapestry/tapestry5/trunk/tapestry-jpa/build.gradle Thu Apr 14 00:33:10 2011
@@ -0,0 +1,26 @@
+description = "Provides support for simple CRUD applications built on top of Tapestry and JPA"
+
+dependencies {
+  compile project(':tapestry-core')
+  compile "org.eclipse.persistence:javax.persistence:2.0.3"
+  
+  testCompile project(':tapestry-test')
+  testCompile "com.h2database:h2:1.2.145"
+  testCompile "org.eclipse.persistence:org.eclipse.persistence.jpa:2.2.0"
+  
+}
+
+repositories {
+  mavenRepo urls: "http://mirrors.ibiblio.org/pub/mirrors/eclipse/rt/eclipselink/maven.repo"
+}
+
+test {
+    systemProperties "tapestry.service-reloading-enabled": "false"
+}
+
+
+jar {
+    manifest {
+        attributes 'Tapestry-Module-Classes': 'org.apache.tapestry5.jpa.JpaModule'
+    }
+}
\ No newline at end of file