40 lines
1016 B
Groovy
40 lines
1016 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version '3.2.3'
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'es.mde'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
sourceCompatibility = '17'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
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-mail'
|
|
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.aspectj:aspectjweaver'
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
runtimeOnly 'com.mysql:mysql-connector-j'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
springBoot {
|
|
mainClass = 'es.mde.goCourt.GoCourtApplication'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.named('jar') {
|
|
enabled = false
|
|
} |