-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
60 lines (52 loc) · 2.09 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
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds
*/
val springBootVersion by extra {"2.1.7.RELEASE"}
val h2DatabaseVersion by extra {"1.4.200"}
val reactorVersion by extra {"3.2.12.RELEASE"}
val jUnitJupiterVersion by extra {"5.3.2"} // can't upgrade to latest version -- tests will not work
val assertJVersion by extra {"3.15.0"}
val jUnitPlatformVersion by extra {"1.6.0"}
val apacheCommonsLangVersion by extra {"3.9"}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.7.RELEASE")
}
}
version = 1.0
tasks.named<Test>("test") {
useJUnitPlatform()
}
plugins {
java
id("org.springframework.boot") version "2.1.7.RELEASE"
id("io.spring.dependency-management") version "1.0.8.RELEASE"
}
dependencyManagement {
imports {
mavenBom("org.springframework.boot:spring-boot-starter:$springBootVersion")
}
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.apache.commons:commons-lang3:$apacheCommonsLangVersion")
implementation("org.springframework.boot:spring-boot-starter:$springBootVersion")
implementation("org.springframework.boot:spring-boot-starter-data-jpa:$springBootVersion")
implementation("org.springframework.boot:spring-boot-starter-thymeleaf:$springBootVersion")
implementation("org.springframework.boot:spring-boot-starter-web:$springBootVersion")
implementation("com.h2database:h2:$h2DatabaseVersion")
testImplementation("org.springframework.boot:spring-boot-starter-test:$springBootVersion")
testImplementation("org.junit.jupiter:junit-jupiter-api:$jUnitJupiterVersion")
testImplementation("org.assertj:assertj-core:$assertJVersion")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$jUnitJupiterVersion")
//testRuntimeOnly("org.junit.platform:junit-platform-engine:$jUnitPlatformVersion")
//implementation("io.projectreactor:reactor-core:$reactorVersion")
}