34 lines
972 B
Groovy
34 lines
972 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.7.4'
|
|
id 'io.spring.dependency-management' version '1.0.14.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.cpro'
|
|
version = '1.0'
|
|
sourceCompatibility = '17'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
|
|
implementation 'io.springfox:springfox-swagger2:3.0.0'
|
|
implementation "io.springfox:springfox-boot-starter:3.0.0"
|
|
implementation 'io.springfox:springfox-swagger-ui:3.0.0'
|
|
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
|
|
implementation 'org.mapstruct:mapstruct:1.5.2.Final'
|
|
implementation 'io.jsonwebtoken:jjwt:0.9.1'
|
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.2.Final'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|