-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
58 lines (48 loc) · 1.72 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
plugins {
id("uk.gov.justice.hmpps.gradle-spring-boot") version "6.1.2"
kotlin("jvm") version "2.0.21"
kotlin("plugin.spring") version "2.0.21"
id("jacoco")
id("org.barfuin.gradle.jacocolog") version "3.1.0"
}
configurations {
testImplementation { exclude(group = "org.junit.vintage") }
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("com.amazon.redshift:redshift-jdbc4-no-awssdk:1.2.45.1069")
implementation("org.postgresql:postgresql:42.7.5")
implementation("uk.gov.justice.service.hmpps:hmpps-digital-prison-reporting-lib:7.5.0")
implementation("com.google.code.gson:gson:2.11.0")
implementation("software.amazon.awssdk:redshiftdata:2.30.0")
implementation("software.amazon.awssdk:athena:2.30.1")
implementation("software.amazon.awssdk:sts:2.30.0")
// Security
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server")
implementation("org.springframework.boot:spring-boot-starter-oauth2-client")
// Swagger
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.3")
// Testing
testImplementation("com.h2database:h2")
testImplementation("io.jsonwebtoken:jjwt:0.12.6")
testImplementation("javax.xml.bind:jaxb-api:2.4.0-b180830.0359")
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
repositories {
mavenLocal()
mavenCentral()
maven("https://s3.amazonaws.com/redshift-maven-repository/release")
}
kotlin {
jvmToolchain(21)
}
tasks.test {
finalizedBy(tasks.jacocoTestReport)
}
tasks.jacocoTestReport {
dependsOn(tasks.test)
}