2014-11-23 20:41:38 +00:00
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// PLUGIN CONFIGURATION
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
2014-11-23 18:11:42 +00:00
|
|
|
plugins {
|
|
|
|
id "io.ratpack.ratpack-groovy" version "0.9.10"
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'groovy'
|
2014-11-23 20:41:38 +00:00
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
2014-11-23 18:11:42 +00:00
|
|
|
|
2014-11-23 20:41:38 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
2014-11-23 18:11:42 +00:00
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
2014-11-23 20:41:38 +00:00
|
|
|
|
|
|
|
jcenter()
|
|
|
|
mavenCentral()
|
2014-11-23 18:11:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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+'
|
2014-11-23 20:41:38 +00:00
|
|
|
compile localGroovy()
|
2014-11-23 18:11:42 +00:00
|
|
|
|
2014-11-23 20:41:38 +00:00
|
|
|
/* Needed for discovering brokers and all kinds of other things in
|
|
|
|
* Zookeeeper
|
|
|
|
*/
|
|
|
|
compile 'org.apache.curator:curator-framework:2.7.0+'
|
2014-11-23 23:12:56 +00:00
|
|
|
compile 'org.apache.commons:commons-pool2:2.2+'
|
2014-11-23 20:41:38 +00:00
|
|
|
|
|
|
|
testCompile 'org.spockframework:spock-core:0.7-groovy-2.0'
|
2014-11-23 18:11:42 +00:00
|
|
|
}
|
2014-11-23 20:41:38 +00:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|