From d804f0dbacfb69849831c3763350b5c494b743a8 Mon Sep 17 00:00:00 2001 From: Hai Brenner Date: Wed, 6 Jul 2016 21:33:30 +0300 Subject: [PATCH] voting-booth gradle.build now has dependencies on jetty and RESTful API for testing purposes --- voting-booth/build.gradle | 8 ++++++++ .../java/meerkat/voting/NetworkVirtualPrinterTest.java | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 voting-booth/src/test/java/meerkat/voting/NetworkVirtualPrinterTest.java diff --git a/voting-booth/build.gradle b/voting-booth/build.gradle index ef89f86..88bd338 100644 --- a/voting-booth/build.gradle +++ b/voting-booth/build.gradle @@ -42,6 +42,14 @@ dependencies { compile project(':meerkat-common') compile project(':restful-api-common') + // Jersey for RESTful API + compile 'org.glassfish.jersey.containers:jersey-container-servlet:2.5.+' + + // Servlets + compile group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.3.+' + compile 'org.eclipse.jetty:jetty-server:9.3.+' + compile 'org.eclipse.jetty:jetty-servlet:9.3.+' + // Logging compile 'org.slf4j:slf4j-api:1.7.7' runtime 'ch.qos.logback:logback-classic:1.1.2' diff --git a/voting-booth/src/test/java/meerkat/voting/NetworkVirtualPrinterTest.java b/voting-booth/src/test/java/meerkat/voting/NetworkVirtualPrinterTest.java new file mode 100644 index 0000000..ec5cd4c --- /dev/null +++ b/voting-booth/src/test/java/meerkat/voting/NetworkVirtualPrinterTest.java @@ -0,0 +1,7 @@ +package meerkat.voting; + +/** + * Created by hai on 06/07/16. + */ +public class NetworkVirtualPrinterTest { +}