2026-05-22 14:08:01 +00:00
|
|
|
plugins {
|
|
|
|
|
id 'groovy'
|
|
|
|
|
id 'org.springframework.boot' version '4.0.6'
|
|
|
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
group = 'br.dev.jsilveira'
|
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
|
|
|
|
|
|
java {
|
|
|
|
|
toolchain {
|
|
|
|
|
languageVersion = JavaLanguageVersion.of(26)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
|
mavenCentral()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-mongodb'
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-webmvc'
|
|
|
|
|
implementation 'org.apache.groovy:groovy'
|
2026-06-10 00:01:00 +00:00
|
|
|
|
|
|
|
|
// Source: https://mvnrepository.com/artifact/com.scalar.maven/scalar-webmvc
|
|
|
|
|
implementation 'com.scalar.maven:scalar-webmvc:0.6.37'
|
|
|
|
|
// Source: https://mvnrepository.com/artifact/org.springdoc/springdoc-openapi-starter-webmvc-scalar
|
|
|
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-scalar:3.0.3'
|
|
|
|
|
|
2026-05-22 14:08:01 +00:00
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-docker-compose'
|
|
|
|
|
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-actuator-test'
|
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-data-mongodb-test'
|
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-mongodb-test'
|
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-security-test'
|
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
|
|
|
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
|
useJUnitPlatform()
|
|
|
|
|
}
|