-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
37 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
plugins {
id("org.springframework.boot") version PluginVersions.SPRING_BOOT_VERSION
id("io.spring.dependency-management") version PluginVersions.DEPENDENCY_MANAGER_VERSION
kotlin("jvm") version PluginVersions.JVM_VERSION
kotlin("plugin.spring") version PluginVersions.SPRING_PLUGIN_VERSION
kotlin("plugin.jpa") version PluginVersions.JPA_PLUGIN_VERSION
}
group = "team.aliens"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
}
dependencies {
implementation(Dependencies.SPRING_DATA_JPA)
implementation(Dependencies.SPRING_VALIDATION)
implementation(Dependencies.SPRING_WEB)
implementation(Dependencies.JACKSON)
implementation(Dependencies.KOTLIN_REFLECT)
implementation(Dependencies.KOTLIN_JDK)
runtimeOnly(Dependencies.MYSQL_CONNECTOR)
testImplementation(Dependencies.SPRING_TEST)
}
tasks.compileKotlin {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "17"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}