40 lines
1.1 KiB
Groovy
40 lines
1.1 KiB
Groovy
|
plugins {
|
||
|
id 'org.springframework.boot' version '2.6.3'
|
||
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||
|
id 'java'
|
||
|
}
|
||
|
|
||
|
group 'com.example'
|
||
|
version '1.0-SNAPSHOT'
|
||
|
sourceCompatibility = '17'
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
||
|
implementation 'org.springframework.boot:spring-boot-devtools'
|
||
|
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'
|
||
|
|
||
|
implementation 'org.webjars:bootstrap:5.1.3'
|
||
|
implementation 'org.webjars:jquery:3.6.0'
|
||
|
implementation 'org.webjars:font-awesome:6.1.0'
|
||
|
|
||
|
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'
|
||
|
|
||
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||
|
}
|
||
|
|
||
|
tasks.named('test') {
|
||
|
useJUnitPlatform()
|
||
|
}
|