Permalink
Browse files

Initial work on building using Gradle

  • Loading branch information...
1 parent 694339a commit 994709b79c60d954ae864965e0fcf7d4c40f3702 @hlship committed Oct 28, 2010
Showing with 48 additions and 0 deletions.
  1. +31 −0 build.gradle
  2. +1 −0 settings.gradle
  3. +16 −0 tapx-core/build.gradle
View
@@ -0,0 +1,31 @@
+
+subprojects {
+ apply plugin: 'java'
+ apply plugin: 'groovy' // mostly for testing
+ apply plugin: 'eclipse'
+
+ sourceCompatibility = '1.5'
+ targetCompatibility = '1.5'
+
+ version = '1.0.0-SNAPSHOT'
+
+ repositories {
+ mavenCentral()
+
+ // Temporary while the Tapestry 5.2.2 vote continues:
+ mavenRepo urls: "https://repository.apache.org/content/repositories/orgapachetapestry-003"
+
+ // All things JBoss/Javassist/Hibernate
+ mavenRepo urls: "https://repository.jboss.org/nexus/content/repositories/releases/"
+ }
+
+ dependencies {
+ groovy "org.codehaus.groovy:groovy-all:1.7.4"
+ }
+
+ test {
+ useTestNG()
+
+ options.suites("src/test/conf/testng.xml")
+ }
+}
View
@@ -0,0 +1 @@
+include "tapx-core" // , "tapx-datefield", "tapx-plainmessage", "tapx-prototype", "tapx-templating"
View
@@ -0,0 +1,16 @@
+repositories {
+ // For the Kaptcha library
+ mavenRepo urls: "http://tapestry.formos.com/maven-repository/"
+}
+
+dependencies {
+ compile "org.apache.tapestry:tapestry-core:5.2.2"
+ compile "com.google.code.kaptcha:kaptcha:2.3"
+ testCompile "org.apache.tapestry:tapestry-test:5.2.2"
+}
+
+jar {
+ manifest {
+ attributes 'Tapestry-Module-Classes': 'com.howardlewisship.tapx.core.services.CoreModule'
+ }
+}

0 comments on commit 994709b

Please sign in to comment.