polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject zest-java git commit: libraries/restlet: add gradle task to run the sample app
Date Tue, 22 Sep 2015 17:10:12 GMT
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 <paulmerlin@apache.org>
Authored: Tue Sep 22 19:09:34 2015 +0200
Committer: Paul Merlin <paulmerlin@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'
+}
+


Mime
View raw message