-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (48 loc) · 1.81 KB
/
build.gradle
File metadata and controls
57 lines (48 loc) · 1.81 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
plugins {
id 'application'
id 'java'
id 'org.springframework.boot' version '4.0.0'
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 '2.4.1'
id 'com.gorylenko.gradle-git-properties' version '2.5.3'
id 'com.avast.gradle.docker-compose' version '0.17.12'
}
group = 'uk.gov.hmcts.cp'
version = System.getProperty('ARTEFACT_VERSION') ?: '0.0.999'
apply {
from("$rootDir/gradle/dependencies/java-core.gradle")
from("$rootDir/gradle/dependencies/spring-core.gradle")
from("$rootDir/gradle/dependencies/spring-db.gradle")
from("$rootDir/gradle/tasks/apitest.gradle")
from("$rootDir/gradle/github/repositories.gradle")
from("$rootDir/gradle/github/java.gradle")
from("$rootDir/gradle/github/dependency.gradle")
from("$rootDir/gradle/github/pmd.gradle")
from("$rootDir/gradle/github/test.gradle")
from("$rootDir/gradle/github/jar.gradle")
from("$rootDir/gradle/github/docker.gradle")
}
springBoot {
buildInfo {
properties {
name = project.name
version = project.version.toString()
}
}
}
dependencies {
implementation("uk.gov.hmcts.cp:api-hmcts-crime-template:2.0.1")
// --- Observability / Actuator / OTEL / Prometheus ---
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.hibernate.validator:hibernate-validator'
implementation 'org.springframework.boot:spring-boot-starter-opentelemetry'
implementation 'io.jsonwebtoken:jjwt:0.13.0'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// Should come in with the api
implementation 'io.swagger.core.v3:swagger-core:2.2.36'
testImplementation(platform('org.junit:junit-bom:5.13.4'))
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}