-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
80 lines (58 loc) · 1.8 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
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
74
75
76
77
78
79
80
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version PluginVersions.SPRING_BOOT_VERSION
id("io.spring.dependency-management") version PluginVersions.DEPENDENCY_MANAGER_VERSION
id("org.jlleitschuh.gradle.ktlint") version PluginVersions.KLINT_VERSION
kotlin("jvm") version PluginVersions.JVM_VERSION
kotlin("plugin.spring") version PluginVersions.SPRING_PLUGIN_VERSION
kotlin("plugin.jpa") version PluginVersions.JPA_PLUGIN_VERSION
}
dependencyManagement {
imports {
mavenBom(Dependencies.SPRING_CLOUD)
}
}
group = "hs.kr.equus"
version = "0.0.1-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_17
}
repositories {
mavenCentral()
maven { url = uri("https://repo.spring.io/milestone") }
maven { url = uri("https://repo.spring.io/snapshot") }
}
dependencies {
// Web
implementation(Dependencies.SPRING_WEB)
// Security
implementation(Dependencies.SPRING_SECURITY)
// Kotlin
implementation(Dependencies.JACKSON)
implementation(Dependencies.KOTLIN_REFLECT)
// Test
testImplementation(Dependencies.SPRING_TEST)
// Valid
implementation(Dependencies.SPRING_VALIDATION)
// Cloud Config
implementation(Dependencies.CLOUD_CONFIG)
// Logging
implementation(Dependencies.SENTRY)
// Feign Client
implementation(Dependencies.OPEN_FEIGN)
implementation(Dependencies.AWS)
implementation(Dependencies.SCALR)
implementation(Dependencies.JSON)
implementation(Dependencies.REDIS)
implementation(Dependencies.ACTUATOR)
implementation(Dependencies.KAFKA)
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs += "-Xjsr305=strict"
jvmTarget = "17"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}