2025-11-26 23:31:03 +00:00
|
|
|
repositories {
|
|
|
|
|
mavenLocal()
|
|
|
|
|
mavenCentral()
|
|
|
|
|
maven() {
|
|
|
|
|
url = uri("https://artifactory-oss.prod.netflix.net/artifactory/maven-oss-candidates")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-30 05:32:44 +00:00
|
|
|
ext {
|
|
|
|
|
springCloudVersion = "2023.0.3"
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-26 23:31:03 +00:00
|
|
|
dependencies {
|
|
|
|
|
|
2025-11-27 02:55:04 +00:00
|
|
|
implementation 'br.com.rayan:hd-commons-lib:1.0.0'
|
|
|
|
|
|
2025-12-04 04:52:27 +00:00
|
|
|
// Spring Boot Starters initial project
|
2025-11-30 05:32:44 +00:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter'
|
2025-11-26 23:31:03 +00:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
|
|
|
|
2025-11-30 05:32:44 +00:00
|
|
|
// Swagger / OpenAPI (compatível com Spring Boot 3.3.x)
|
|
|
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
|
2025-11-26 23:31:03 +00:00
|
|
|
|
2025-12-04 04:52:27 +00:00
|
|
|
// Lombok for code generation (at compile time)
|
2025-11-26 23:31:03 +00:00
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
|
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
|
|
2025-12-04 04:52:27 +00:00
|
|
|
// MapStruct for object mapping (at compile time)
|
2025-11-26 23:31:03 +00:00
|
|
|
implementation 'org.mapstruct:mapstruct:1.5.3.Final'
|
|
|
|
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.3.Final'
|
|
|
|
|
|
2025-12-04 04:52:27 +00:00
|
|
|
// Spring Security dependencies for authentication and authorization
|
|
|
|
|
implementation 'org.springframework.security:spring-security-crypto:6.4.7'
|
|
|
|
|
|
|
|
|
|
// Testing dependencies
|
2025-11-26 23:31:03 +00:00
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
2025-12-12 23:22:14 +00:00
|
|
|
|
|
|
|
|
// Mockito for mocking in tests
|
|
|
|
|
testImplementation 'org.mockito:mockito-core:5.12.0'
|
|
|
|
|
|
2025-11-26 23:31:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencyManagement {
|
|
|
|
|
imports {
|
2025-11-30 05:32:44 +00:00
|
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
|
2025-11-26 23:31:03 +00:00
|
|
|
}
|
|
|
|
|
}
|