mirror of
https://github.com/mvvasilev/personal-finances.git
synced 2025-04-19 14:19:52 +03:00
57 lines
1.4 KiB
Groovy
57 lines
1.4 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.2.0'
|
|
id 'io.spring.dependency-management' version '1.1.3'
|
|
}
|
|
|
|
group = 'dev.mvvasilev'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
sourceCompatibility = '21'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
set('springCloudVersion', "2023.0.0")
|
|
}
|
|
|
|
ext['spring-security.version']='6.2.0'
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.kafka:spring-kafka'
|
|
|
|
implementation 'org.flywaydb:flyway-core'
|
|
implementation 'org.apache.commons:commons-lang3:3.14.0'
|
|
|
|
implementation project(":pefi-common")
|
|
|
|
testImplementation 'org.springframework.kafka:spring-kafka-test'
|
|
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
|
|
testImplementation platform('org.junit:junit-bom:5.9.1')
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
testImplementation 'org.mockito:mockito-core:5.7.0'
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
|
|
}
|
|
}
|
|
|
|
tasks.named('bootBuildImage') {
|
|
builder = 'paketobuildpacks/builder-jammy-base:latest'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|