-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
63 lines (55 loc) · 2.57 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
63 lines (55 loc) · 2.57 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
plugins {
id("uk.gov.justice.hmpps.gradle-spring-boot") version "11.0.7"
kotlin("plugin.spring") version "2.4.10"
kotlin("plugin.jpa") version "2.4.10"
id("org.owasp.dependencycheck") version "13.0.0"
}
configurations {
testImplementation { exclude(group = "org.junit.vintage") }
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-webclient")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
implementation("org.springframework.boot:spring-boot-starter-cache")
implementation("org.springframework.boot:spring-boot-starter-flyway")
implementation("io.jsonwebtoken:jjwt-api:0.13.0")
implementation("io.jsonwebtoken:jjwt-impl:0.13.0")
implementation("io.jsonwebtoken:jjwt-jackson:0.13.0")
implementation("org.json:json:20260814")
implementation("org.postgresql:postgresql:42.7.13")
implementation("org.ehcache:ehcache:3.12.0")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:3.1.0") {
exclude(group = "org.yaml", module = "snakeyaml")
}
implementation("uk.gov.justice.service.hmpps:hmpps-kotlin-spring-boot-starter:3.0.1")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("com.fasterxml.uuid:java-uuid-generator:5.2.0")
implementation("com.nimbusds:nimbus-jose-jwt:10.9.1")
runtimeOnly("org.flywaydb:flyway-database-postgresql:13.4.0")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.boot:spring-boot-starter-data-jpa-test")
testImplementation("uk.gov.justice.service.hmpps:hmpps-kotlin-spring-boot-starter-test:3.0.0")
testImplementation("org.springframework.boot:spring-boot-starter-webflux")
testImplementation("io.swagger.parser.v3:swagger-parser:2.1.43") {
exclude(group = "io.swagger.core.v3")
}
testImplementation("org.testcontainers:postgresql:1.21.4")
testImplementation("org.wiremock:wiremock-standalone:3.13.2")
testImplementation("org.springframework.boot:spring-boot-starter-webmvc-test")
testImplementation("org.springframework.boot:spring-boot-webtestclient")
}
kotlin {
jvmToolchain(25)
}
java {
sourceCompatibility = JavaVersion.VERSION_24
targetCompatibility = JavaVersion.VERSION_24
}
tasks {
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
compilerOptions.jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_24
}
}