| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- plugins {
- id 'org.springframework.boot' version '3.0.5'
- id 'io.spring.dependency-management' version '1.0.15.RELEASE'
- id 'java'
- }
- group = 'com.danielbohry'
- version = '0.1'
- sourceCompatibility = '21'
- targetCompatibility = '21'
- repositories {
- mavenCentral()
- }
- dependencies {
- implementation 'org.springframework.boot:spring-boot-starter-web'
- implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
- implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.0.2'
- implementation 'org.springframework.boot:spring-boot-starter-cache'
- implementation 'com.github.ben-manes.caffeine:caffeine'
- implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'
- compileOnly 'org.projectlombok:lombok:1.18.30'
- annotationProcessor 'org.projectlombok:lombok:1.18.30'
-
- testImplementation 'org.springframework.boot:spring-boot-starter-test'
- }
- dependencyManagement {
- imports {
- mavenBom "org.springframework.boot:spring-boot-dependencies:3.0.5"
- }
- }
- tasks.withType(JavaCompile) {
- options.encoding = 'UTF-8'
- }
- tasks.named('test') {
- useJUnitPlatform()
- }
- bootBuildImage {
- imageName = 'lhamacorp/stocks-be'
- }
|