27 lines
696 B
Groovy
27 lines
696 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.0.2'
|
|
id 'io.spring.dependency-management' version '1.1.0'
|
|
}
|
|
|
|
group = 'ru.IP_LabWorks'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '17'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'com.h2database:h2:2.1.210'
|
|
implementation 'jakarta.validation:jakarta.validation-api:3.0.0'
|
|
implementation 'org.hibernate.validator:hibernate-validator:7.0.1.Final'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|