-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (30 loc) · 902 Bytes
/
build.gradle
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
plugins {
id 'application'
id 'org.springframework.boot' version '2.7.1'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
}
group = 'com.example'
version = '1.0'
repositories {
mavenCentral()
}
dependencies {
testImplementation 'junit:junit:4.13.2'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.3'
runtimeOnly 'org.webjars:webjars-locator:0.38'
implementation 'org.springframework.boot:spring-boot-gradle-plugin:2.7.1'
}
application {
// Define the main class for the application.
mainClass = 'com.example.questapitest.QuestApiTestApplication'
}
tasks.named('test') {
useJUnitPlatform()
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}