mirror of https://github.com/reiseburo/offtopic
Add some spock and groovy dependencies for some unit tests
This commit is contained in:
parent
8cdcb9887a
commit
eb90992c11
27
build.gradle
27
build.gradle
|
@ -1,18 +1,41 @@
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// PLUGIN CONFIGURATION
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
plugins {
|
plugins {
|
||||||
id "io.ratpack.ratpack-groovy" version "0.9.10"
|
id "io.ratpack.ratpack-groovy" version "0.9.10"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'groovy'
|
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 {
|
repositories {
|
||||||
jcenter()
|
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
|
|
||||||
|
jcenter()
|
||||||
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'io.ratpack:ratpack-handlebars:0.9.10+'
|
compile 'io.ratpack:ratpack-handlebars:0.9.10+'
|
||||||
compile 'io.ratpack:ratpack-jackson:0.9.10+'
|
compile 'io.ratpack:ratpack-jackson:0.9.10+'
|
||||||
compile 'io.ratpack:ratpack-codahale-metrics: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'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue