48 lines
1.5 KiB
Groovy
48 lines
1.5 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.2.0'
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
}
|
|
|
|
group = 'com'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
|
|
implementation 'org.flywaydb:flyway-core'
|
|
implementation 'io.jsonwebtoken:jjwt-api:0.12.5'
|
|
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.5'
|
|
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.5'
|
|
implementation 'org.springframework.boot:spring-boot-starter-batch'
|
|
implementation 'org.postgresql:postgresql'
|
|
implementation 'org.apache.poi:poi-ooxml:5.2.5'
|
|
implementation 'com.opencsv:opencsv:5.9'
|
|
implementation 'org.projectlombok:lombok:1.18.38'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.38'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|