2023-02-13 15:24:22 +04:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'org.springframework.boot' version '3.0.2'
|
|
|
|
id 'io.spring.dependency-management' version '1.1.0'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'ip'
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
sourceCompatibility = '17'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
2023-03-13 16:55:16 +04:00
|
|
|
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'
|
2023-02-13 15:24:22 +04:00
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
2023-03-13 16:55:16 +04:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
2023-02-13 15:24:22 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|