-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
36 lines (29 loc) · 861 Bytes
/
build.gradle.kts
File metadata and controls
36 lines (29 loc) · 861 Bytes
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
plugins {
kotlin("jvm") version "1.9.25" apply false
kotlin("plugin.spring") version "1.9.25" apply false
id("org.springframework.boot") version "3.5.9" apply false
id("io.spring.dependency-management") version "1.1.7" apply false
}
group = "com.hp657"
version = "0.0.1-SNAPSHOT"
subprojects {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "io.spring.dependency-management")
repositories {
mavenCentral()
}
extensions.configure<JavaPluginExtension> {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "17"
freeCompilerArgs += "-Xjsr305=strict"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}
}