-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
73 lines (58 loc) · 2.11 KB
/
build.gradle.kts
File metadata and controls
73 lines (58 loc) · 2.11 KB
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
import org.jetbrains.gradle.ext.packagePrefix
import org.jetbrains.gradle.ext.settings
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "2.3.10"
id("org.springframework.boot") version "4.0.3"
id("io.spring.dependency-management") version "1.1.7"
kotlin("plugin.spring") version "2.3.0"
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.8"
}
group = "pro.azhidkov.case_studies"
version = "0.0.1-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_25
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-data-jdbc")
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("tools.jackson.module:jackson-module-kotlin")
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.postgresql:postgresql")
developmentOnly("org.springframework.boot:spring-boot-devtools")
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude(group = "org.mockito")
}
testImplementation("org.springframework.boot:spring-boot-testcontainers")
testImplementation("org.springframework.boot:spring-boot-data-jdbc-test")
testImplementation("io.kotest:kotest-property:5.9.0")
testImplementation("io.kotest:kotest-assertions-core:5.9.0")
testImplementation("com.networknt:json-schema-validator:3.0.0")
testImplementation("org.testcontainers:testcontainers-junit-jupiter")
testImplementation("org.testcontainers:testcontainers-postgresql")
testImplementation("net.datafaker:datafaker:2.5.2")
runtimeOnly("org.springframework.boot:spring-boot-docker-compose")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks.withType<KotlinCompile> {
compilerOptions {
freeCompilerArgs.add("-Xjsr305=strict")
jvmTarget.set(JvmTarget.JVM_25)
}
}
tasks.withType<Test> {
useJUnitPlatform()
}
idea {
module {
settings {
packagePrefix["src/main/kotlin"] = "pro.azhidkov"
packagePrefix["src/test/kotlin"] = "pro.azhidkov.mariotte"
}
}
}