polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [2/4] polygene-java git commit: samples/rental: move from deprecated Gradle Jetty plugin to Gretty
Date Sat, 13 May 2017 13:12:14 GMT
samples/rental: move from deprecated Gradle Jetty plugin to Gretty

The former will be removed from Gradle in the upcoming 4.0


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/f93917bd
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/f93917bd
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/f93917bd

Branch: refs/heads/develop
Commit: f93917bdcce0614615b428e0e47697471506bb20
Parents: 8c3ca57
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Sat May 13 15:08:34 2017 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Sat May 13 15:08:34 2017 +0200

----------------------------------------------------------------------
 samples/rental/build.gradle | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/f93917bd/samples/rental/build.gradle
----------------------------------------------------------------------
diff --git a/samples/rental/build.gradle b/samples/rental/build.gradle
index 31c502c..427153e 100644
--- a/samples/rental/build.gradle
+++ b/samples/rental/build.gradle
@@ -18,16 +18,21 @@
  *
  */
 
+buildscript {
+  repositories { maven { url "https://plugins.gradle.org/m2/" } }
+  dependencies { classpath "gradle.plugin.org.akhikhl.gretty:gretty:1.4.2" }
+}
+
 apply plugin: 'polygene-sample'
 apply plugin: 'war'
-apply plugin: 'jetty'
+apply plugin: 'org.akhikhl.gretty'
 
 description = "Sample of implementation of a Car Rental application."
 
 // To run in an embedded Jetty use:
-//      ../../gradlew appRun
+//      ../../gradlew appRunWar
 // And then go to:
-//      http://localhost:8080/org.apache.polygene.sample.rental/rental/main
+//      http://localhost:8080/rental/rental/main
 
 jar { manifest { name = "Apache Polygeneâ„¢ Sample - Car Rental" } }
 


Mime
View raw message