-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
87 lines (73 loc) · 2.95 KB
/
build.gradle
File metadata and controls
87 lines (73 loc) · 2.95 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
buildscript {
repositories {
mavenCentral()
maven {
url "https://repo.spring.io/plugins-release"
}
}
dependencies {
classpath 'org.springframework.build.gradle:bundlor-plugin:0.1.2'
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.6'
classpath 'org.springframework.build.gradle:spring-io-plugin:0.0.3.RELEASE'
classpath 'org.slf4j:slf4j-simple:1.6.4'
classpath 'org.slf4j:slf4j-api:1.6.4'
classpath 'org.slf4j:slf4j-log4j12:1.6.4'
}
}
group 'org.springframework.data'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url "https://repo.spring.io/libs-snapshot" }
maven { url "https://repo.spring.io/plugins-release"}
mavenCentral()
}
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}
dependencies {
// Spring Framework
compile("org.springframework:spring-context-support:$springVersion") {
exclude group: "commons-logging", module: "commons-logging"
}
compile("org.springframework:spring-context:$springVersion") {
exclude group: "commons-logging", module: "commons-logging"
}
compile("org.springframework:spring-tx:$springVersion") {
exclude group: "commons-logging", module: "commons-logging"
}
// Spring Data
compile("org.springframework.data:spring-data-commons:${springDataCommonsVersion}") {
exclude group: "commons-logging", module: "commons-logging"
}
// Cloudant
compile group: 'com.cloudant', name: 'cloudant-client', version:'1.2.3'
// Spring Cloud
compile(group: 'org.springframework.cloud', name: 'spring-cloud-config-client', version:'1.0.1.RELEASE') {
exclude group: "ch.qos.logback", module: "logback-classic"
}
//compile "org.aspectj:aspectjweaver:$aspectjVersion"
compile "com.fasterxml.jackson.core:jackson-core:$jacksonVersion"
compile "com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion"
compile "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion"
compile "org.slf4j:slf4j-api:$slf4jVersion"
compile "org.slf4j:jcl-over-slf4j:$slf4jVersion"
compile 'joda-time:joda-time:2.4'
// Testing
testCompile("org.springframework:spring-test:$springVersion") {
exclude group: "commons-logging", module: "commons-logging"
}
testCompile "junit:junit:$junitVersion"
//testCompile "org.hamcrest:hamcrest-core:$hamcrestVersion"
//testCompile "org.hamcrest:hamcrest-library:$hamcrestVersion"
testCompile "org.mockito:mockito-core:$mockitoVersion"
//testCompile "javax.annotation:jsr250-api:1.0", optional
testRuntime "log4j:log4j:$log4jVersion"
testCompile "org.apache.derby:derbyLocale_zh_TW:10.9.1.0"
// testRuntime "org.slf4j:slf4j-log4j12:$slf4jVersion"
compile "org.springframework.data.build:spring-data-build-resources:$springDataBuildVersion@zip"
}