-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (50 loc) · 2.42 KB
/
build.gradle
File metadata and controls
64 lines (50 loc) · 2.42 KB
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
plugins {
id 'application'
id 'java'
id 'org.springframework.boot' version '4.0.3'
id 'io.spring.dependency-management' version '1.1.7'
id 'jacoco'
id 'maven-publish'
id 'com.github.ben-manes.versions' version '0.53.0'
id "org.cyclonedx.bom" version "3.2.0"
id 'com.avast.gradle.docker-compose' version '0.17.21'
}
group = 'uk.gov.hmcts.cp'
version = System.getProperty('ARTEFACT_VERSION') ?: '0.0.999'
apply {
from("$rootDir/gradle/repositories.gradle")
from("$rootDir/gradle/dependency.gradle")
from("$rootDir/gradle/pmd.gradle")
from("$rootDir/gradle/test.gradle")
from("$rootDir/gradle/jar.gradle")
from("$rootDir/gradle/apitest.gradle")
}
// We MUST keep all dependencies in the build.gradle to allow dependabot to provide version updates
// Sadly, dependabot does not track dependencies in the apply-from files
dependencies {
// Api spec
implementation "uk.gov.hmcts.cp:api-cp-crime-schedulingandlisting-courtschedule:1.1.0"
// Java core
implementation 'net.logstash.logback:logstash-logback-encoder:8.1'
implementation 'org.apache.logging.log4j:log4j-to-slf4j'
implementation 'ch.qos.logback:logback-classic'
implementation 'ch.qos.logback:logback-core'
implementation "org.owasp.encoder:encoder:1.2.3"
compileOnly group: 'org.projectlombok', name: 'lombok', version: "1.18.40"
annotationProcessor group: 'org.projectlombok', name: 'lombok', version: "1.18.40"
testCompileOnly group: 'org.projectlombok', name: 'lombok', version: "1.18.40"
testAnnotationProcessor group: 'org.projectlombok', name: 'lombok', version: "1.18.40"
implementation "org.mapstruct:mapstruct:1.5.5.Final"
annotationProcessor "org.mapstruct:mapstruct-processor:1.5.5.Final"
// Spring boot core
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-aspectj"
implementation "org.springframework.boot:spring-boot-starter-actuator"
implementation "org.springframework.boot:spring-boot-starter-validation"
testImplementation "org.springframework.boot:spring-boot-starter-webmvc-test"
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation 'org.wiremock.integrations:wiremock-spring-boot:4.1.0'
testImplementation 'org.wiremock:wiremock-standalone:3.13.2'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-opentelemetry'
}