recommend

This commit is contained in:
youbeen 2025-06-12 16:06:53 +09:00
parent ff127c1edc
commit 482d415c1f

View File

@ -1,132 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.0'
id 'io.spring.dependency-management' version '1.1.6'
}
group = 'com.ktds.hi'
version = '1.0.0'
java {
sourceCompatibility = '21'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
//
implementation project(':common')
// Spring Boot Starters
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'org.springframework.boot:spring-boot-starter-validation'
// File Storage
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// Database
runtimeOnly 'org.postgresql:postgresql'
// Redis
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
// JSON Processing
implementation 'com.fasterxml.jackson.core:jackson-databind'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
// Lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// OpenAPI/Swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'
// Logging
implementation 'org.springframework.boot:spring-boot-starter-logging'
// Security (JWT )
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'io.jsonwebtoken:jjwt-api:0.12.3'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.3'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.3'
// Apache Commons ()
implementation 'org.apache.commons:commons-lang3:3.13.0'
implementation 'org.apache.commons:commons-collections4:4.4'
// AI HTTP
implementation 'org.springframework.boot:spring-boot-starter-webflux'
//
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'com.github.ben-manes.caffeine:caffeine'
//
implementation 'io.micrometer:micrometer-registry-prometheus'
//
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:postgresql'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
dependencyManagement {
imports {
mavenBom "org.testcontainers:testcontainers-bom:1.19.3"
}
}
tasks.named('test') {
useJUnitPlatform()
//
systemProperty 'spring.profiles.active', 'test'
//
minHeapSize = "512m"
maxHeapSize = "1024m"
}
// JAR
jar {
archiveBaseName = 'recommend-service'
archiveVersion = '1.0.0'
enabled = false
}
bootJar {
archiveBaseName = 'recommend-service'
archiveVersion = '1.0.0'
archiveClassifier = ''
}
//
compileJava {
options.encoding = 'UTF-8'
options.compilerArgs += ['-parameters']
}
compileTestJava {
options.encoding = 'UTF-8'
}
//
processResources {
filesMatching('**/*.properties') {
filteringCharset = 'UTF-8'
}
filesMatching('**/*.yml') {
filteringCharset = 'UTF-8'
}
}