-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·68 lines (58 loc) · 1.95 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
buildscript {
repositories {
maven { url "https://repo.spring.io/libs-snapshot"}
maven { url "https://repo.spring.io/plugins-release"}
maven { url "https://repo.spring.io/milestone"}
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.0.BUILD-SNAPSHOT")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'application'
sourceCompatibility = 1.7
targetCompatibility = 1.7
ext {
springBootCfServiceBrokerVersion = "2.4.0"
springBootVersion = '1.3.0.BUILD-SNAPSHOT'
version = '1.0'
jsonPathVersion = '0.9.1'
}
jar {
archiveName 'openpaas-service-java-broker-pinpoint.jar'
}
processResources {
if (project.hasProperty('jarType')) {
if (project.jarType == 'openpaas_bosh') {
exclude 'application-mvc.properties'
exclude 'pinpoint.json'
exclude 'logback.xml'
}
}
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/libs-snapshot"}
maven { url "https://repo.spring.io/plugins-release"}
maven { url "https://repo.spring.io/milestone"}
}
configurations {
providedRuntime
}
dependencies {
compile files('libs/openpaas-service-java-broker.jar')
compile group: 'com.google.code.gson', name: 'gson', version: '2.6.2'
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat:${springBootVersion}")
compile("org.springframework.boot:spring-boot-starter-web:${springBootVersion}")
compile("org.springframework.boot:spring-boot-starter-security:${springBootVersion}")
testCompile("org.cloudfoundry:spring-boot-cf-service-broker-tests:${springBootCfServiceBrokerVersion}")
testCompile("org.springframework.boot:spring-boot-starter-test:${springBootVersion}")
testCompile("org.apache.httpcomponents:httpclient:4.4.1")
}
task wrapper(type: Wrapper) {
gradleVersion = '2.9'
}