36 lines
973 B
Groovy
36 lines
973 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.4.3'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'be.naaturel'
|
|
version = '1.0.0'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'jakarta.validation:jakarta.validation-api:3.0.2'
|
|
implementation 'org.hibernate.validator:hibernate-validator:8.0.0.Final'
|
|
implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.28'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|