-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
110 lines (83 loc) · 2.25 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version PluginVersions.SPRING_BOOT_VERSION
id("io.spring.dependency-management") version PluginVersions.SPRING_MANAGE_VERSION
id("com.ewerk.gradle.plugins.querydsl") version PluginVersions.QUERY_DSL_PLUGIN_VERSION
kotlin("jvm") version PluginVersions.JVM_VERSION
kotlin("plugin.spring") version PluginVersions.SPRING_PLUG_IN_VERSION
kotlin("plugin.jpa") version PluginVersions.JPA_VERSION
kotlin("kapt") version PluginVersions.KAPT_VERSION
idea
}
group = "andreas311"
version = "0.0.1-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_11
}
repositories {
mavenCentral()
}
dependencies {
// kotlin
implementation(Dependencies.KOTLIN_JACKSON)
implementation(Dependencies.KOTLIN_REFLECT)
implementation(Dependencies.KOTLIN_KOROUTINES)
// web
implementation(Dependencies.WEB)
implementation(Dependencies.VALIDATION)
// db
implementation(Dependencies.SPRING_JPA)
runtimeOnly(Dependencies.MARIA_DATABASE)
// security
implementation(Dependencies.SECURITY)
// jjwt
implementation(Dependencies.JWT_API)
runtimeOnly(Dependencies.JWT_IMPL)
runtimeOnly(Dependencies.JWT_JACKSON)
// redis
implementation(Dependencies.SPRING_REDIS)
// mail
implementation(Dependencies.MAIL)
// s3
implementation(Dependencies.SPRING_CLOUD)
// test
testImplementation(Dependencies.SPRING_TEST)
// query_dsl
implementation(Dependencies.QUERY_DSL)
implementation(Dependencies.QUERY_DSL_APT)
kapt(Dependencies.QUERY_DSL_APT)
// web_hook
implementation(Dependencies.OK_HTTP)
// fcm
implementation(Dependencies.FCM)
// mapper
implementation(Dependencies.MAPPER)
kapt(Dependencies.MAPPER_APT)
// web_flux
implementation(Dependencies.WEB_FLUX)
// thymeleaf
implementation(Dependencies.THYMELEAF)
// actuator
implementation(Dependencies.ACTUATOR)
// prometheus
runtimeOnly(Dependencies.PROMETHEUS)
// chat_gpt
implementation(Dependencies.CHAT_GPT)
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs += "-Xjsr305=strict"
jvmTarget = "11"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}
// query_dsl
idea {
module {
val kaptMain = file("build/generated/source/kapt/main")
sourceDirs.add(kaptMain)
generatedSourceDirs.add(kaptMain)
}
}