-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
43 lines (32 loc) · 1.05 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
plugins {
application
id("org.springframework.boot") version "3.1.4"
id("io.spring.dependency-management") version "1.1.1"
kotlin("jvm") version "1.9.10"
kotlin("plugin.spring") version "1.9.10"
}
group = "no.blommish.spring-data-error"
version = "0.0.1-SNAPSHOT"
val javaVersion = JavaLanguageVersion.of(17)
kotlin {
jvmToolchain(javaVersion.asInt())
compilerOptions {
freeCompilerArgs.add("-Xjsr305=strict")
}
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-data-jdbc")
implementation("org.flywaydb:flyway-core")
implementation("org.postgresql:postgresql")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.testcontainers:postgresql:1.19.3")
}
tasks.withType<Test> {
useJUnitPlatform()
}