You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by jk...@apache.org on 2015/02/16 12:18:44 UTC
[5/5] tapestry-5 git commit: add a Gradle task to run the `app1` test
application from the tapestry-core project
add a Gradle task to run the `app1` test application from the tapestry-core project
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/724b34cd
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/724b34cd
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/724b34cd
Branch: refs/heads/master
Commit: 724b34cd0a696fa76c70294b58cb947b5bafce31
Parents: a6604d8
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Mon Feb 16 12:10:35 2015 +0100
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Mon Feb 16 12:18:25 2015 +0100
----------------------------------------------------------------------
tapestry-core/build.gradle | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/724b34cd/tapestry-core/build.gradle
----------------------------------------------------------------------
diff --git a/tapestry-core/build.gradle b/tapestry-core/build.gradle
index d35c166..3f651f6 100644
--- a/tapestry-core/build.gradle
+++ b/tapestry-core/build.gradle
@@ -4,6 +4,8 @@ import t5build.*
description = "Central module for Tapestry, containing all core services and components"
+apply plugin: 'jetty'
+
project.ext {
antlrSource = "src/main/antlr"
mainGeneratedDir = "src/main/generated"
@@ -61,3 +63,8 @@ jar {
filter(ReplaceTokens, tokens: [version: project.version])
}
}
+
+task runTestApp1(type: JettyRun) {
+ webAppSourceDirectory= file('src/test/app1')
+ classpath += project.sourceSets.test.runtimeClasspath
+}