-
-
Notifications
You must be signed in to change notification settings - Fork 119
/
Copy pathbuild.gradle.kts
34 lines (29 loc) · 1.02 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
import org.springframework.boot.gradle.plugin.SpringBootPlugin
// This is necessary to get Gradle use the plugin from its source instead of fetching it from the repository
// Don't use that in your project
buildscript {
dependencies {
classpath("com.github.node-gradle:gradle-node-plugin:3.0.0")
}
}
plugins {
java
id("org.springframework.boot") version "2.4.2"
}
repositories {
mavenCentral()
}
dependencies {
implementation(platform(SpringBootPlugin.BOM_COORDINATES))
implementation(project(":webapp"))
implementation("org.springframework.boot:spring-boot-starter-web")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.github.bonigarcia:webdrivermanager:4.3.1")
testImplementation("org.seleniumhq.selenium:selenium-java")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.assertj:assertj-core")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
tasks.test {
useJUnitPlatform()
}