generated from antonarhipov/assignment
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
62 lines (50 loc) · 1.49 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
import org.gradle.api.JavaVersion.VERSION_21
import org.gradle.api.tasks.wrapper.Wrapper.DistributionType.ALL
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
alias(libs.plugins.spring.boot)
alias(libs.plugins.spring.dependency.management)
alias(libs.plugins.jetbrains.kotlin.jvm)
alias(libs.plugins.jetbrains.kotlin.spring)
alias(libs.plugins.jetbrains.kotlin.jpa)
alias(libs.plugins.propactive)
}
group = "org.example"
version = "0.0.1-SNAPSHOT"
java {
sourceCompatibility = VERSION_21
}
repositories {
mavenCentral()
}
dependencies {
implementation(libs.kotlin.reflect)
implementation(libs.spring.boot.starter.data.jpa)
implementation(libs.spring.boot.starter.jdbc)
implementation(libs.spring.boot.starter.web)
implementation(libs.jackson.module.kotlin)
implementation(libs.propactive.jvm)
runtimeOnly(libs.h2)
testImplementation(libs.spring.boot.starter.test)
testImplementation(libs.kotest.runner.junit5)
testImplementation(libs.kotest.assertions.core)
testImplementation(libs.rest.assured)
developmentOnly(libs.spring.boot.starter.actuator)
}
propactive {
implementationClass = "org.example.assignment.config.Properties"
}
tasks {
withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs += "-Xjsr305=strict"
jvmTarget = VERSION_21.toString()
}
}
withType<Test> {
useJUnitPlatform()
}
wrapper {
distributionType = ALL
}
}