28 lines
791 B
Groovy
28 lines
791 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '2.7.8'
|
|
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
|
|
}
|
|
|
|
group = 'ru.ip.labworks'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '19'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
implementation 'com.h2database:h2:2.1.210'
|
|
implementation 'org.hibernate.validator:hibernate-validator:7.0.1.Final'
|
|
implementation group: 'org.springdoc', name: 'springdoc-openapi-ui', version: '1.6.5'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|