From eb90992c11014befa44bc23baf254b6abd8cdd22 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Sun, 23 Nov 2014 12:41:38 -0800 Subject: [PATCH] Add some spock and groovy dependencies for some unit tests --- build.gradle | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 18efe69..c9fa920 100644 --- a/build.gradle +++ b/build.gradle @@ -1,18 +1,41 @@ +//////////////////////////////////////////////////////////////////////////////// +// PLUGIN CONFIGURATION +//////////////////////////////////////////////////////////////////////////////// plugins { id "io.ratpack.ratpack-groovy" version "0.9.10" } apply plugin: 'groovy' +//////////////////////////////////////////////////////////////////////////////// + +group = 'offtopic' +description =' Offtopic is a simple web application built with Ratpack for inspecting and consuming events from Kafka.' +sourceCompatibility = '1.7' + + +//////////////////////////////////////////////////////////////////////////////// +// DEPENDENCY AND REPOSITORY MANAGEMENT +//////////////////////////////////////////////////////////////////////////////// repositories { - jcenter() mavenLocal() + + jcenter() + mavenCentral() } dependencies { compile 'io.ratpack:ratpack-handlebars:0.9.10+' compile 'io.ratpack:ratpack-jackson:0.9.10+' compile 'io.ratpack:ratpack-codahale-metrics:0.9.10+' + compile localGroovy() - testCompile 'org.spockframework:spock-core:1.0-groovy-2.+' + /* Needed for discovering brokers and all kinds of other things in + * Zookeeeper + */ + compile 'org.apache.curator:curator-framework:2.7.0+' + + testCompile 'org.spockframework:spock-core:0.7-groovy-2.0' } + +////////////////////////////////////////////////////////////////////////////////