-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
34 lines (29 loc) · 1022 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 'org.springframework.boot' version '2.4.10'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.mindhub'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
bootRun {
sourceResources sourceSets.main
}
dependencies {
runtimeOnly 'org.springframework.boot:spring-boot-devtools'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-data-rest'
implementation 'org.springframework.boot:spring-boot-starter-web'
runtimeOnly 'com.h2database:h2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.springframework.boot:spring-boot-starter-security'
//implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml' (Hace que los JSON se vean como XML)
//implementation 'org.postgresql:postgresql'
implementation 'com.oracle.database.jdbc:ojdbc8:19.8.0.0'
}
tasks.named('test') {
useJUnitPlatform()
}