-
Notifications
You must be signed in to change notification settings - Fork 28
/
build.gradle
97 lines (83 loc) · 3.75 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
buildscript {
ext {
springBootVersion = '2.7.9' // 3.x requires Java 17
}
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/plugins-release' }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath('io.spring.gradle:dependency-management-plugin:1.1.0')
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'jacoco'
sourceCompatibility = 11
targetCompatibility = 11
repositories {
mavenCentral()
maven { url "https://repo.spring.io/libs-snapshot" }
}
ext {
springCloudServiceBrokerVersion = '3.6.0'
}
dependencies {
implementation(group: 'org.springframework.boot', name: 'spring-boot-starter-jersey', version: springBootVersion)
implementation(group: 'org.springframework.boot', name: 'spring-boot-configuration-processor', version: springBootVersion)
implementation(group: 'org.springframework.boot', name: 'spring-boot-starter-actuator', version: springBootVersion)
implementation(group: 'org.springframework.boot', name: 'spring-boot-devtools', version: springBootVersion)
implementation(group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: springBootVersion)
implementation(group: 'org.springframework.cloud', name: 'spring-cloud-starter-open-service-broker', version: springCloudServiceBrokerVersion) {
exclude module: "log4j-slf4j-impl"
}
implementation(group: 'org.glassfish.jersey.media', name: 'jersey-media-jaxb', version: '2.39')
implementation(group: 'com.google.guava', name: 'guava', version: '31.1-jre')
implementation(group: 'org.slf4j', name: 'slf4j-api', version: '1.7.36')
implementation(group: 'ch.qos.logback', name: 'logback-core', version: '1.2.11')
implementation(group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.11')
implementation(group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.20.0')
implementation(group: 'org.apache.logging.log4j', name: 'log4j-to-slf4j', version: '2.20.0')
implementation(group: 'com.sun.jersey.contribs', name: 'jersey-apache-client4', version: '1.19.4')
implementation(group: 'com.emc.ecs', name: 'object-client', version: '3.4.5')
implementation(group: 'com.emc.ecs', name: 'bucket-wipe', version: '2.2.0') {
exclude module: "log4j-slf4j-impl"
}
testImplementation(group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: springBootVersion)
testImplementation(group: 'junit', name: 'junit', version: '4.13.2')
testImplementation(group: 'org.mockito', name: 'mockito-core', version: '2.28.2')
testImplementation(group: 'org.powermock', name: 'powermock-api-mockito2', version: '2.0.9')
testImplementation(group: 'org.powermock', name: 'powermock-module-junit4', version: '2.0.9')
testImplementation(group: 'com.github.tomakehurst', name: 'wiremock-standalone', version: '2.27.2')
testImplementation(group: 'com.github.paulcwarren', name: 'ginkgo4j', version: '1.0.15')
}
task wrapperOld(type: Wrapper) {
gradleVersion = '7.5'
}
eclipse {
classpath {
containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8'
}
}
springBoot {
// executable = true
}
task simulate(type: JavaExec) {
classpath sourceSets.test.runtimeClasspath
main = "com.emc.ecs.management.simulator.Server"
}
test {
include '**/TestSuite.class'
exclude 'com.emc.ecs.*.*.class'
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}