29 lines
657 B
Groovy
29 lines
657 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
id 'org.springframework.boot' version '3.2.3'
|
||
|
id 'io.spring.dependency-management' version '1.1.4'
|
||
|
}
|
||
|
|
||
|
group = 'com.example'
|
||
|
version = '0.0.1-SNAPSHOT'
|
||
|
|
||
|
java {
|
||
|
sourceCompatibility = '21'
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-web:3.2.3'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:3.2.3'
|
||
|
implementation 'org.postgresql:postgresql:42.7.2'
|
||
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
|
||
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||
|
}
|
||
|
|
||
|
tasks.named('test') {
|
||
|
useJUnitPlatform()
|
||
|
}
|