forked from naver/spring-jdbc-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
43 lines (34 loc) · 1.23 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
maven(url = "https://plugins.gradle.org/m2/")
}
dependencies {
classpath("org.jlleitschuh.gradle:ktlint-gradle:10.2.0")
}
}
plugins {
val kotlinVersion = "1.9.20"
id("org.jlleitschuh.gradle.ktlint") version "10.2.0"
kotlin("jvm") version kotlinVersion
kotlin("plugin.spring") version kotlinVersion
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
implementation(project(":spring-boot-starter-data-jdbc-plus-sql"))
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("com.h2database:h2")
implementation("org.springframework.data:spring-data-jdbc")
implementation("org.springframework.data:spring-data-relational")
implementation("org.springframework.data:spring-data-commons")
testImplementation("org.springframework.boot:spring-boot-starter-test")
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "17"
kotlinOptions.javaParameters = true
}