-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
executable file
·100 lines (77 loc) · 2.47 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
98
99
100
buildscript {
ext {
gradleVersion = '4.9'
springBootVersion = '1.5.14.RELEASE'
}
repositories {
maven { url "https://repo.spring.io/libs-snapshot" }
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext {
springBootCfServiceBrokerVersion = "2.6.0"
springBootVersion = '1.5.14.RELEASE'
baseName = 'openpaas-cf-service-java-broker-cubrid'
version = '2.4'
hibernateValidatorVersion = '5.1.0.Final'
jsonPathVersion = '0.9.1'
jacocoVersion = '0.8.4'
}
jar {
archiveName = 'openpaas-cf-service-java-broker-cubrid.jar'
}
processResources {
if (project.hasProperty('jarType')) {
if (project.jarType == 'openpaas_bosh') {
exclude 'application-mvc.properties'
exclude 'datasource.properties'
exclude 'logback.xml'
}
}
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/libs-snapshot" }
}
configurations {
providedRuntime
}
dependencies {
compile files('libs/openpaas-service-java-broker.jar')
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}")
//compile("org.hibernate:hibernate-validator:${hibernateValidatorVersion}")
testCompile("org.cloudfoundry:spring-boot-cf-service-broker-tests:${springBootCfServiceBrokerVersion}")
testCompile("org.springframework.boot:spring-boot-starter-test:${springBootVersion}")
testCompile("com.jayway.jsonpath:json-path:${jsonPathVersion}")
testCompile("org.apache.httpcomponents:httpclient:4.4.1")
compile("org.apache.commons:commons-dbcp2")
//runtime "mysql:mysql-connector-java:5.1.27"
runtime "com.github.jinahya:cubrid-jdbc-driver-10.1.1.7691:1.0.1"
compile "org.springframework:spring-jdbc:4.0.0.M3"
compile "com.jcraft:jsch:0.1.53"
}
task wrapper(type: Wrapper) {
gradleVersion = '4.9'
}
apply plugin: 'jacoco'
jacoco {
toolVersion = "${jacocoVersion}"
}
test {
ignoreFailures=true
jacoco {
destinationFile = file("$buildDir/jacoco/jacoco-overall.exec")
}
}