-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
35 lines (26 loc) · 906 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.0.3'
id 'io.spring.dependency-management' version '1.1.0'
id 'org.graalvm.buildtools.native' version '0.9.18'
}
group = 'com.github.afarentino'
version = '0.0.3-SNAPSHOT'
sourceCompatibility = '17'
repositories {
mavenCentral()
}
// This line allows environment variables to be passed as -D (system props)
bootRun.systemProperties = System.properties
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.apache.commons:commons-csv:1.10.0'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
tasks.named('test') {
useJUnitPlatform()
}
// Apply custom build tasks
apply from: "$projectDir/gradle/custom.gradle"