-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
40 lines (31 loc) · 997 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "io.ratpack:ratpack-gradle:0.9.8"
}
}
apply plugin: "io.ratpack.ratpack-groovy"
repositories {
jcenter()
maven { url "http://repo.springsource.org/repo" } // for springloaded
}
// code_snippet ratpack-dependencies start
dependencies {
// SpringLoaded enables runtime hot reloading.
// It is not part of the app runtime and is not shipped in the distribution.
springloaded "org.springframework:springloaded:1.2.0.RELEASE"
// Default SLF4J binding. Note that this is a blocking implementation.
// See here for a non blocking appender http://logging.apache.org/log4j/2.x/manual/async.html
runtime 'org.slf4j:slf4j-simple:1.7.7'
compile group: 'redis.clients', name: 'jedis', version: '2.5.2', transitive: true
testCompile "org.spockframework:spock-core:0.7-groovy-2.0"
}
// code_snippet ratpack-dependencies end
run {
jvmArgs "-Dratpack.port=3000"
}
distZip {
archiveName "app.zip"
}