This repository has been archived by the owner on Jan 7, 2021. It is now read-only.
forked from ministryofjustice/community-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
72 lines (62 loc) · 2.7 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
plugins {
id("uk.gov.justice.hmpps.gradle-spring-boot") version "2.1.2"
id 'groovy'
id 'org.unbroken-dome.test-sets' version '3.0.1'
}
group = 'uk.gov.justice.digital.delius'
testSets {
testIntegration
}
check.dependsOn(testIntegration)
dependencies {
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.3'
implementation 'io.jsonwebtoken:jjwt:0.9.1'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-data-ldap'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation 'com.unboundid:unboundid-ldapsdk:4.0.14'
implementation("io.springfox:springfox-boot-starter:3.0.0")
implementation 'org.flywaydb:flyway-core:6.5.6'
implementation 'com.zaxxer:HikariCP:3.4.5'
implementation 'commons-io:commons-io:2.8.0'
implementation 'org.apache.commons:commons-lang3:3.11'
implementation 'org.apache.commons:commons-text:1.9'
implementation 'io.swagger:swagger-core:1.6.2'
implementation 'com.oracle.database.jdbc:ojdbc10:19.8.0.0'
implementation 'io.vavr:vavr:0.9.0'
annotationProcessor 'org.projectlombok:lombok:1.18.16'
compileOnly 'org.projectlombok:lombok:1.18.16'
testRuntime 'com.h2database:h2:1.4.200'
runtime 'com.h2database:h2:1.4.200'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.16'
testCompileOnly 'org.projectlombok:lombok:1.18.16'
testImplementation 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.1'
testImplementation ('io.rest-assured:rest-assured:3.3.0'){
exclude group: 'com.sun.xml.bind', module: 'jaxb-osgi'
}
testImplementation 'io.rest-assured:spring-mock-mvc:3.3.0'
testIntegrationImplementation "com.github.tomakehurst:wiremock:2.27.2"
testImplementation 'io.swagger.parser.v3:swagger-parser-v2-converter:2.0.22'
}
testIntegration {
println(project.getProperties().get("testFilter"))
if (project.hasProperty("testFilter")) {
List<String> props = project.getProperties().get("testFilter").split("\\s+")
props.each {
include(it.replace("src/testIntegration/java/", "**/").replace(".java", ".class"))
}
}
timeout = Duration.ofMinutes(15)
useJUnitPlatform ()
testLogging {
events "started", "passed", "skipped", "failed", "standardError"
exceptionFormat "short"
showStackTraces = true
showExceptions = true
showCauses = true
}
minHeapSize = "128m"
maxHeapSize = "1536m"
}