generated from ministryofjustice/hmpps-template-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
53 lines (44 loc) · 2.16 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
plugins {
id("uk.gov.justice.hmpps.gradle-spring-boot") version "6.1.0"
kotlin("plugin.spring") version "2.0.21"
id("org.jetbrains.kotlin.plugin.noarg") version "2.0.21"
}
configurations {
testImplementation { exclude(group = "org.junit.vintage") }
}
repositories {
maven { url = uri("https://repo.spring.io/milestone") }
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-webflux")
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")
implementation("org.springframework.boot:spring-boot-starter-cache")
implementation("uk.gov.justice.service.hmpps:hmpps-sqs-spring-boot-starter:5.2.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8")
implementation("io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:2.10.0")
implementation("org.springframework.data:spring-data-commons:3.4.0")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-api:2.7.0")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0")
implementation("org.springdoc:springdoc-openapi-starter-common:2.7.0")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
testImplementation("io.swagger.parser.v3:swagger-parser:2.1.24")
testImplementation("com.github.tomakehurst:wiremock-jre8-standalone:3.0.1")
testImplementation("org.mockito:mockito-inline:5.2.0")
testImplementation("org.testcontainers:localstack:1.20.4")
testImplementation("org.awaitility:awaitility-kotlin:4.2.2")
testImplementation("javax.xml.bind:jaxb-api:2.4.0-b180830.0359")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.jsonwebtoken:jjwt:0.12.6")
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
tasks {
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
compilerOptions.jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21
}
}