35 lines
857 B
Groovy
35 lines
857 B
Groovy
|
plugins {
|
||
|
id 'org.springframework.boot' version '2.6.3'
|
||
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||
|
id 'java'
|
||
|
}
|
||
|
|
||
|
group = 'myapp'
|
||
|
version = '0.0.1-SNAPSHOT'
|
||
|
sourceCompatibility = '17'
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||
|
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||
|
implementation 'com.h2database:h2:2.1.210'
|
||
|
|
||
|
implementation 'org.hibernate.validator:hibernate-validator'
|
||
|
|
||
|
implementation 'org.springdoc:springdoc-openapi-ui:1.6.5'
|
||
|
|
||
|
compileOnly 'org.projectlombok:lombok'
|
||
|
annotationProcessor 'org.projectlombok:lombok'
|
||
|
|
||
|
implementation group: 'org.springdoc', name: 'springdoc-openapi-ui', version: '1.6.5'
|
||
|
}
|
||
|
|
||
|
tasks.named('test') {
|
||
|
useJUnitPlatform()
|
||
|
}
|