71 lines
2.0 KiB
Groovy
71 lines
2.0 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.2.5'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'com.krylov'
|
|
version = '0.0.1-SNAPSHOT'
|
|
description = 'ReFound'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom 'io.awspring.cloud:spring-cloud-aws-dependencies:3.1.1'
|
|
}
|
|
}
|
|
|
|
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-data-redis'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.springframework.boot:spring-boot-starter-aop'
|
|
implementation 'org.liquibase:liquibase-core'
|
|
implementation 'org.springframework.boot:spring-boot-starter-websocket'
|
|
implementation 'org.mapstruct:mapstruct:1.5.5.Final'
|
|
|
|
// S3 / MinIO
|
|
implementation 'io.awspring.cloud:spring-cloud-aws-starter-s3'
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
|
|
// JWT
|
|
implementation 'io.jsonwebtoken:jjwt-api:0.12.5'
|
|
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.5'
|
|
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.5'
|
|
|
|
//WebClient
|
|
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
|
|
|
implementation 'org.springframework.retry:spring-retry'
|
|
implementation 'org.springframework:spring-aspects'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
|
|
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|