-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
97 lines (65 loc) · 2.34 KB
/
build.gradle.kts
File metadata and controls
97 lines (65 loc) · 2.34 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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
kotlin("kapt") version PluginVersions.KAPT_VERSION
}
dependencyManagement {
imports {
mavenBom(Dependencies.SPRING_CLOUD)
}
}
group = "DSM"
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 {
implementation(Dependencies.SPRING_DATA_JPA)
implementation(Dependencies.SPRING_REDIS)
runtimeOnly(Dependencies.MYSQL_CONNECTOR)
implementation(Dependencies.SPRING_WEB)
implementation(Dependencies.SPRING_SECURITY)
implementation(Dependencies.JACKSON)
implementation(Dependencies.KOTLIN_REFLECT)
testImplementation(Dependencies.SPRING_TEST)
implementation(Dependencies.SPRING_VALIDATION)
implementation(Dependencies.JSON)
implementation(Dependencies.JWT)
implementation(Dependencies.MYSQL_CONNECTOR)
implementation(Dependencies.OPEN_FEIGN)
implementation(Dependencies.SWAGGER)
implementation(Dependencies.REDIS)
implementation(Dependencies.QUERYDSL)
kapt(Dependencies.QUERYDSL_PROCESSOR)
implementation(Dependencies.APACHE_POI)
implementation(Dependencies.APACHE_POI_OOXML)
implementation(Dependencies.GSON)
implementation(Dependencies.AWS)
implementation(Dependencies.CLOUD)
implementation(Dependencies.CACHE)
implementation(Dependencies.WEB_SOCKET)
implementation(Dependencies.SMTP)
implementation(Dependencies.GOOGLE_OAUTH)
implementation(Dependencies.KAFKA)
implementation(Dependencies.APACHE_HTTP_CLIENT)
implementation(Dependencies.SPRING_RETRY)
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs += "-Xjsr305=strict"
jvmTarget = "17"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}