-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
51 lines (43 loc) · 1.41 KB
/
Copy pathbuild.gradle
File metadata and controls
51 lines (43 loc) · 1.41 KB
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
plugins {
id "idea"
id "java-library"
id "org.jetbrains.kotlin.jvm" version "1.9.25"
id "org.jetbrains.kotlin.plugin.spring" version "1.9.25" apply false
id "org.jetbrains.kotlin.plugin.jpa" version "1.9.25" apply false
id "org.springframework.boot" version "3.4.4" apply false
id "io.spring.dependency-management" version "1.1.7"
}
ext {
springBootVersion = "3.4.4"
springBootShellVersion = "3.4.0"
kotlinVersion = "1.9.25"
redisContainerVersion = "2.2.2"
testContainerVersion = "1.21.0"
}
allprojects { ->
apply plugin: "idea"
apply plugin: "kotlin"
apply plugin: "io.spring.dependency-management"
[compileKotlin, compileTestKotlin]*.kotlinOptions*.jvmTarget = "17"
repositories {
mavenCentral()
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:$springBootVersion"
mavenBom "org.springframework.shell:spring-shell-dependencies:$springBootShellVersion"
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.jetbrains.kotlin:kotlin-reflect"
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "org.assertj:assertj-core"
}
}