-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
50 lines (43 loc) · 1.39 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
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_WEB)
implementation(Dependencies.JACKSON)
implementation(Dependencies.KOTLIN_REFLECT)
implementation(Dependencies.KOTLIN_JDK)
implementation(Dependencies.OPEN_FEIGN)
runtimeOnly(Dependencies.MYSQL_CONNECTOR)
implementation(Dependencies.GSON)
testImplementation(Dependencies.SPRING_TEST)
}
allOpen {
annotation("javax.persistence.Entity")
annotation("javax.persistence.MappedSuperclass")
annotation("javax.persistence.Embeddable")
}
noArg {
annotation("javax.persistence.Entity")
annotation("javax.persistence.MappedSuperclass")
annotation("javax.persistence.Embeddable")
}
tasks.compileKotlin {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "17"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}