-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
97 lines (84 loc) · 3.92 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
group = 'com.comsysto'
sourceCompatibility = 1.6
targetCompatibility = 1.6
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
//load version from the root folder
def props = new Properties();
file("gradle.properties").withInputStream { props.load(it) }
props.each({ project.ext[it.key] = it.value })
subprojects {
apply plugin: 'eclipse'
apply plugin: 'idea'
repositories {
mavenCentral()
mavenRepo(url: 'http://maven.springsource.org/release')
mavenRepo(url: 'http://repo.springsource.org/milestone')
mavenRepo(url: 'http://maven.restlet.org')
}
configurations.all {
resolutionStrategy.failOnVersionConflict()
resolutionStrategy {
force "org.springframework:spring-aop:$springVersion",
"org.springframework:spring-asm:$springVersion",
"org.springframework:spring-beans:$springVersion",
"org.springframework:spring-context:$springVersion",
"org.springframework:spring-context-support:$springVersion",
"org.springframework:spring-core:$springVersion",
"org.springframework:spring-expression:$springVersion",
"org.springframework:spring-jdbc:$springVersion",
"org.springframework:spring-parent:$springVersion",
"org.springframework:spring-tx:$springVersion",
"org.springframework:spring-web:$springVersion",
"org.springframework:spring-webmvc:$springVersion",
"org.apache.wicket:wicket-core:$wicketVersion",
"org.mongodb:mongo-java-driver:$mongodbDriverVersion",
"org.mongodb:bson:$mongodbDriverVersion",
"log4j:log4j:$log4JVersion",
"junit:junit:$junitVersion",
"com.foursquare:fongo:$fongoVersion",
"org.hamcrest:hamcrest-core:1.3",
"org.slf4j:slf4j-api:1.7.5",
"org.objenesis:objenesis:1.2"
}
all*.exclude group: "org.mortbay.jetty"
}
ext.mongoDeps = [
"org.mongodb:mongo-java-driver:$mongodbDriverVersion",
"org.mongodb:bson:$mongodbDriverVersion",
]
ext.springDeps = [
"org.springframework:spring-core:$springVersion",
"org.springframework:spring-tx:$springVersion",
"org.springframework:spring-jdbc:$springVersion",
"org.springframework:spring-beans:$springVersion",
"org.springframework:spring-context:$springVersion",
"org.springframework:spring-context-support:$springVersion",
"org.springframework:spring-web:$springVersion",
"org.springframework:spring-webmvc:$springVersion",
"org.springframework.data:spring-data-mongodb:$springDataMongoVersion",
]
ext.wicketDeps = [
"org.apache.wicket:wicket-core:$wicketVersion",
"org.apache.wicket:wicket-spring:$wicketVersion",
"org.apache.wicket:wicket-auth-roles:$wicketVersion",
"org.apache.wicket:wicket-extensions:$wicketVersion",
"org.apache.wicket:wicket-native-websocket-jetty:$wicketWebSocketVersion",
"org.wicketstuff:wicketstuff-annotation:$wicketstuffVersion",
]
ext.jettyDeps = [
"org.eclipse.jetty.aggregate:jetty-all-server:$jettyVersion",
"org.eclipse.jetty.orbit:javax.servlet:3.0.0.v201112011016@jar",
"org.eclipse.jetty:jetty-continuation:$jettyVersion",
"org.eclipse.jetty:jetty-http:$jettyVersion",
]
ext.testDeps = [
"org.springframework:spring-test:$springVersion",
"junit:junit:$junitVersion",
"com.foursquare:fongo:$fongoVersion",
"com.lordofthejars:nosqlunit-mongodb:$nosqlunitVersion",
]
}