-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
32 lines (25 loc) · 988 Bytes
/
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
group = "com.github.jactor-rises"
version = "2.0.x-SNAPSHOT"
description = "jactor::persistence"
val flywayVersion: String by project
val h2DatabaseVersion: String by project
val kotlinLoggingVersion: String by project
plugins {
id("org.springframework.boot") version "3.4.3"
}
dependencies {
// spring-boot
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-aop")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
// internal project dependency
implementation(project(":shared"))
implementation("io.github.oshai:kotlin-logging-jvm:$kotlinLoggingVersion")
// database
runtimeOnly("org.flywaydb:flyway-core:$flywayVersion")
runtimeOnly("com.h2database:h2:$h2DatabaseVersion")
}
tasks.test {
jvmArgs("--add-opens", "java.base/java.lang.reflect=ALL-UNNAMED")
}