forked from cloudfoundry-community/spring-service-broker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
81 lines (66 loc) · 2.48 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'war'
apply plugin: 'cloudfoundry'
sourceCompatibility = 1.7
version = '0.1'
jar {
manifest {
attributes 'Implementation-Title': 'Spring Service Broker for CloudFoundry', 'Implementation-Version': version
}
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath group: 'org.cloudfoundry', name: 'cf-gradle-plugin', version: '1.0.1'
}
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
compile ("org.springframework:spring-context:${springVersion}") {
exclude group:"commons-logging", module:"commons-logging"
}
compile ("org.springframework:spring-webmvc:${springVersion}")
compile ("org.springframework:spring-web:${springVersion}")
compile ("org.springframework.security:spring-security-web:${springSecurityVersion}")
compile ("org.springframework.security:spring-security-config:${springSecurityVersion}")
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}"
runtime "org.slf4j:jcl-over-slf4j:${slf4jVersion}"
runtime "org.slf4j:slf4j-log4j12:${slf4jVersion}"
runtime ("log4j:log4j:${log4jVersion}") {
exclude group:"javax.mail", module:"mail"
exclude group:"javax.jms", module:"jms"
exclude group:"com.sun.jdmk", module:"jmxtools"
exclude group:"com.sun.jmx", module:"jmxri"
}
compile "javax.servlet:javax.servlet-api:${servletApiVersion}"
compile "javax.servlet.jsp:jsp-api:${jspApiVersion}"
compile "javax.servlet:jstl:${jstlVersion}"
compile "org.hibernate:hibernate-validator:${hibernateValidatorVersion}"
testCompile "org.hamcrest:hamcrest-all:${hamcrestVersion}"
testCompile "junit:junit:${junitVersion}"
testCompile "org.mockito:mockito-all:${mockitoVersion}"
testCompile "org.springframework:spring-test:${springVersion}"
testCompile "com.jayway.jsonpath:json-path:${jsonpathVersion}"
}
task wrapper(type: Wrapper) {
gradleVersion = '1.10'
}
test {
afterTest { desc, result ->
println "Executing test ${desc.name} [${desc.className}] with result: ${result.resultType}"
}
}
war {
// omit the version from the war file name
version = ""
}