32 lines
859 B
Groovy
32 lines
859 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.ulstu.is'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '17'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// https://mvnrepository.com/artifact/commons-io/commons-io
|
|
implementation group: 'commons-io', name: 'commons-io', version: '2.6'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'com.h2database:h2:2.1.210'
|
|
|
|
implementation group: 'org.springdoc', name: 'springdoc-openapi-ui', version: '1.6.5'
|
|
|
|
implementation 'org.hibernate.validator:hibernate-validator:7.0.1.Final'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|