-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
49 lines (42 loc) · 1.48 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version PluginVersion.SPRING_VERSION
id("io.spring.dependency-management") version PluginVersion.DEPENDENCY_MANAGER_VERSION
kotlin("jvm") version PluginVersion.JVM_VERSION
kotlin("plugin.spring") version PluginVersion.SPRING_PLUGIN_VERSION
kotlin("plugin.jpa") version PluginVersion.JPA_PLUGIN_VERSION
}
group = "com.gsm"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_11
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}
repositories {
mavenCentral()
}
dependencies {
implementation(Dependencies.Web.SPRING_WEB)
implementation(Dependencies.Database.SPRING_DATA_JPA)
implementation(Dependencies.Database.SPRING_REDIS)
implementation(Dependencies.Mail.SPRING_MAIL)
implementation(Dependencies.Thymeleaf.SPRING_THYMELEAF)
implementation(Dependencies.Validation.SPRING_VALIDATION)
implementation(Dependencies.Kotlin.KOTLIN_REFLECT)
implementation(Dependencies.Kotlin.KOTLIN_JDK)
implementation(Dependencies.Security.SPRING_SECURITY)
implementation(Dependencies.Jwt.JWT)
runtimeOnly(Dependencies.Database.MYSQL_CONNECTOR)
testImplementation(Dependencies.Test.SPRING_TEST)
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "11"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}