You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by pa...@apache.org on 2015/09/22 19:10:12 UTC
zest-java git commit: libraries/restlet: add gradle task to run the
sample app
Repository: zest-java
Updated Branches:
refs/heads/develop f1b78d377 -> af67180d1
libraries/restlet: add gradle task to run the sample app
Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/af67180d
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/af67180d
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/af67180d
Branch: refs/heads/develop
Commit: af67180d1e29410133bda51c2a8c46759dbe52f5
Parents: f1b78d3
Author: Paul Merlin <pa...@apache.org>
Authored: Tue Sep 22 19:09:34 2015 +0200
Committer: Paul Merlin <pa...@apache.org>
Committed: Tue Sep 22 19:09:34 2015 +0200
----------------------------------------------------------------------
libraries/restlet/build.gradle | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/zest-java/blob/af67180d/libraries/restlet/build.gradle
----------------------------------------------------------------------
diff --git a/libraries/restlet/build.gradle b/libraries/restlet/build.gradle
index 9221ce7..8d224b9 100644
--- a/libraries/restlet/build.gradle
+++ b/libraries/restlet/build.gradle
@@ -41,3 +41,9 @@ dependencies {
testRuntime project( ":org.apache.zest.core:org.apache.zest.core.runtime" )
testRuntime libraries.logback
}
+
+task runSample( type: JavaExec, dependsOn: 'testClasses' ) {
+ classpath = sourceSets.test.runtimeClasspath
+ main = 'org.apache.zest.library.restlet.TestApplication'
+}
+