-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (39 loc) · 1.34 KB
/
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
41
42
43
44
45
46
47
48
49
apply plugin: "groovy"
targetCompatibility = "1.8"
sourceCompatibility = "1.8"
if (!JavaVersion.current().java8Compatible) {
throw new IllegalStateException("Must be built with Java 8 or higher")
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "io.ratpack:ratpack-gradle:0.9.14"
classpath "com.github.jengelman.gradle.plugins:shadow:1.2.1"
}
}
apply plugin: "io.ratpack.ratpack-groovy"
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: "idea"
apply plugin: "eclipse"
repositories {
jcenter()
maven { url 'http://repo.spring.io/simple/libs-snapshot-local'}
maven { url 'http://clinker.netty.io/nexus/content/repositories/snapshots' }
}
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.2.BUILD-SNAPSHOT"
compile 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.1'
// 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'
testCompile "org.spockframework:spock-core:0.7-groovy-2.0", {
exclude module: "groovy-all"
}
}
task 'stage' {
dependsOn installDist
}