-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
47 lines (36 loc) · 1.14 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
import org.springframework.boot.gradle.tasks.bundling.BootJar
plugins {
id("org.springframework.boot") version Versions.SPRING_BOOT
id("io.spring.dependency-management") version Versions.SPRING_DEPENDENCY_MANAGEMENT
kotlin("jvm") version Versions.KOTLIN
kotlin("kapt") version Versions.KOTLIN
id("org.jlleitschuh.gradle.ktlint") version Versions.KTLINT
kotlin("plugin.spring") version Versions.KOTLIN apply false
kotlin("plugin.jpa") version Versions.KOTLIN apply false
}
repositories {
mavenCentral()
}
tasks {
withType<Jar> { enabled = true }
withType<BootJar> { enabled = false }
}
kotlin {
jvmToolchain(Versions.JDK)
}
subprojects {
apply(plugin = "kotlin")
apply(plugin = "kotlin-kapt")
apply(plugin = "org.jlleitschuh.gradle.ktlint")
repositories {
mavenCentral()
}
dependencies {
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:${Versions.JACKSON}")
implementation("org.springframework.boot:spring-boot-starter-test:${Versions.SPRING_BOOT}")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
}