-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
74 lines (61 loc) · 3.03 KB
/
build.gradle.kts
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
plugins {
id("uk.gov.justice.hmpps.gradle-spring-boot") version "6.1.0"
kotlin("plugin.spring") version "2.0.21"
kotlin("plugin.jpa") version "2.0.21"
id("io.gatling.gradle") version "3.13.1"
}
configurations {
implementation { exclude(mapOf("module" to "tomcat-jdbc")) }
}
dependencies {
annotationProcessor("org.projectlombok:lombok:1.18.36")
compileOnly("org.projectlombok:lombok:1.18.36")
runtimeOnly("org.flywaydb:flyway-core")
runtimeOnly("org.flywaydb:flyway-database-postgresql")
runtimeOnly("org.postgresql:postgresql")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-cache")
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("uk.gov.justice.service.hmpps:hmpps-sqs-spring-boot-starter:5.2.0")
implementation("io.sentry:sentry-spring-boot-starter-jakarta:7.18.0")
implementation("javax.activation:activation:1.1.1")
implementation("javax.transaction:javax.transaction-api:1.3")
implementation("javax.xml.bind:jaxb-api:2.3.1")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0")
implementation("net.sf.ehcache:ehcache:2.10.9.2")
implementation("org.apache.commons:commons-text:1.12.0")
implementation("com.fasterxml.uuid:java-uuid-generator:5.1.0")
implementation("com.pauldijou:jwt-core_2.11:5.0.0")
implementation("com.google.guava:guava:33.3.1-jre")
implementation(platform("com.amazonaws:aws-java-sdk-bom:1.12.779"))
implementation("software.amazon.awssdk:sns:2.29.21")
testAnnotationProcessor("org.projectlombok:lombok:1.18.36")
testCompileOnly("org.projectlombok:lombok:1.18.36")
testImplementation("org.springframework.security:spring-security-test")
testImplementation("com.tngtech.java:junit-dataprovider:1.13.1")
testImplementation("net.javacrumbs.json-unit:json-unit-assertj:4.0.0")
testImplementation("io.github.http-builder-ng:http-builder-ng-apache:1.0.4")
testImplementation("org.wiremock:wiremock-standalone:3.9.2")
testImplementation("org.testcontainers:postgresql:1.20.4")
testImplementation("org.testcontainers:localstack:1.20.4")
testImplementation("io.jsonwebtoken:jjwt-impl:0.12.6")
testImplementation("io.jsonwebtoken:jjwt-jackson:0.12.6")
testImplementation("org.awaitility:awaitility:4.2.2")
testImplementation("org.awaitility:awaitility-kotlin:4.2.2")
testImplementation("org.springframework.security.oauth:spring-security-oauth2:2.5.2.RELEASE")
testImplementation("org.springframework.security:spring-security-jwt:1.1.1.RELEASE")
testImplementation("org.mockito.kotlin:mockito-kotlin:5.4.0")
testImplementation("io.swagger.parser.v3:swagger-parser-v3:2.1.24")
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
tasks {
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "21"
}
}
}