39 lines
744 B
Groovy
Raw Normal View History

2023-03-21 14:52:01 +04:00
plugins {
id 'java'
id 'org.springframework.boot' version '3.0.4'
id 'io.spring.dependency-management' version '1.1.0'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '19'
repositories {
mavenCentral()
}
2023-04-30 00:20:46 +04:00
jar {
enabled = false
}
2023-03-21 14:52:01 +04:00
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
2023-04-30 00:20:46 +04:00
2023-03-21 14:52:01 +04:00
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
2023-04-30 00:20:46 +04:00
implementation 'com.h2database:h2:2.1.210'
implementation 'org.hibernate.validator:hibernate-validator'
implementation 'org.springdoc:springdoc-openapi-ui:1.6.5'
2023-03-21 14:52:01 +04:00
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
tasks.named('test') {
useJUnitPlatform()
}