personal-finances/PersonalFinancesService/build.gradle

59 lines
1.5 KiB
Groovy
Raw Normal View History

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-security'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'
2023-12-15 20:04:57 +02:00
implementation 'org.flywaydb:flyway-core'
2023-12-15 20:04:57 +02:00
implementation 'org.springdoc:springdoc-openapi-starter-common:2.3.0'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
implementation 'org.apache.poi:poi:5.2.5'
implementation 'org.apache.poi:poi-ooxml:5.2.5'
implementation project(":Common")
runtimeOnly 'com.h2database:h2'
runtimeOnly 'org.postgresql:postgresql'
2023-12-15 20:04:57 +02:00
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
tasks.named('bootBuildImage') {
builder = 'paketobuildpacks/builder-jammy-base:latest'
}
tasks.named('test') {
useJUnitPlatform()
}