54 lines
1.3 KiB
Groovy
54 lines
1.3 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.2.5'
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
}
|
|
|
|
group = 'kr.co'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
sourceCompatibility = '17'
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// Spring Boot
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
|
|
// PostgreSQL + pgvector
|
|
implementation 'org.postgresql:postgresql'
|
|
implementation 'com.pgvector:pgvector:0.1.4'
|
|
|
|
// OpenAI
|
|
implementation 'com.theokanning.openai-gpt3-java:service:0.18.2'
|
|
|
|
// 문서 파싱 (PDF, DOCX 등)
|
|
implementation 'org.apache.tika:tika-core:2.9.1'
|
|
implementation 'org.apache.tika:tika-parsers-standard-package:2.9.1'
|
|
|
|
// 유틸리티
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
implementation 'org.mapstruct:mapstruct:1.5.5.Final'
|
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
|
|
|
|
// 테스트
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|