2chi-verifier-be/build.gradle

34 lines
993 B
Groovy

plugins {
id 'org.springframework.boot' version '3.4.0'
id 'io.spring.dependency-management' version '1.1.7'
id 'io.freefair.lombok' version '8.11'
id 'java'
}
group = 'cat.siesta'
version = '0.0.1-SNAPSHOT'
java.sourceCompatibility = '21'
bootRun {
environment SPRING_PROFILES_ACTIVE: environment.SPRING_PROFILES_ACTIVE ?: 'local'
}
repositories {
mavenCentral()
}
dependencies {
implementation('org.springframework.boot:spring-boot-starter-web')
implementation('org.springframework.boot:spring-boot-starter-validation')
implementation('io.github.wimdeblauwe:error-handling-spring-boot-starter:4.5.0')
implementation('org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0')
developmentOnly('org.springframework.boot:spring-boot-devtools')
developmentOnly('org.springframework.boot:spring-boot-docker-compose')
testImplementation('org.springframework.boot:spring-boot-starter-test')
}
tasks.withType(Test) {
useJUnitPlatform()
}