forked from spring-attic/spring-data-keyvalue-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
70 lines (59 loc) · 2.13 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
buildscript {
repositories {
maven { url 'http://repo.springsource.org/plugins-release' }
}
dependencies {
classpath 'org.springframework.build.gradle:bundlor-plugin:0.1.2'
classpath 'org.springframework.build.gradle:docbook-reference-plugin:0.2.4'
}
}
description = 'Retwis-J'
group = 'org.springframework.data'
apply plugin: "java"
apply plugin: 'eclipse'
apply plugin: 'eclipse-wtp'
apply plugin: 'idea'
apply plugin: 'docbook-reference'
apply plugin: 'war'
group = 'org.springframework.data'
version = "$springDataRedisTwitterVersion"
sourceCompatibility = 1.6
archivesBaseName = "retwisj"
repositories {
maven { url "http://repo.springsource.org/libs-snapshot" }
maven { url "http://repo.springsource.org/plugins-release" }
}
dependencies {
compile "org.slf4j:slf4j-api:$slf4jVersion"
compile "org.slf4j:jcl-over-slf4j:$slf4jVersion"
runtime "org.slf4j:slf4j-log4j12:$slf4jVersion"
runtime "log4j:log4j:$log4jVersion"
compile "redis.clients:jedis:2.1.0"
compile "org.codehaus.jackson:jackson-core-asl:$jacksonVersion"
compile "org.codehaus.jackson:jackson-mapper-asl:$jacksonVersion"
compile "javax.servlet:com.springsource.javax.servlet.jsp.jstl:1.2.0"
compile ("org.springframework.data:spring-data-redis:$springRedisVersion") {
exclude group: 'commons-logging'
}
compile "org.springframework:spring-webmvc:$springVersion"
compile "javax.inject:com.springsource.javax.inject:1.0.0"
providedCompile "javax.servlet:com.springsource.javax.servlet:2.4.0"
providedCompile "javax.servlet:com.springsource.javax.servlet.jsp:2.1.0"
compile "javax.servlet:com.springsource.javax.servlet.jsp.jstl:1.2.0"
compile "org.apache.taglibs:com.springsource.org.apache.taglibs.standard:1.1.2"
// Testing
testCompile "junit:junit:$junitVersion"
testCompile "org.springframework:spring-test:$springVersion"
testCompile "org.mockito:mockito-all:$mockitoVersion"
}
task wrapper(type: Wrapper) {
description = 'Generates gradlew[.bat] scripts'
gradleVersion = '1.2'
}
war {
archiveName = baseName + "." + extension
}
reference {
sourceDir = file('docs/src/reference/docbook')
}
defaultTasks 'build'