generated from ministryofjustice/hmpps-template-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
44 lines (37 loc) · 1.43 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
plugins {
id("uk.gov.justice.hmpps.gradle-spring-boot") version "5.14.1"
kotlin("plugin.spring") version "1.9.22"
}
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("io.swagger:swagger-annotations:1.6.14")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.5.0")
implementation("com.google.code.gson:gson:2.11.0")
implementation("com.amazonaws:aws-java-sdk-s3:1.12.730")
implementation("com.amazonaws:aws-java-sdk-sts:1.12.730")
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-core")
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor")
testImplementation("io.jsonwebtoken:jjwt-impl:0.12.5")
testImplementation("io.jsonwebtoken:jjwt-jackson:0.12.5")
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
tasks {
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "21"
}
}
}