Files
log-hunter/backend/build.gradle
2026-01-06 11:19:46 +09:00

52 lines
1.1 KiB
Groovy

plugins {
id 'java'
id 'org.springframework.boot' version '3.2.1'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.osolit'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
}
dependencies {
// Spring Boot
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// SQLite
implementation 'org.xerial:sqlite-jdbc:3.45.1.0'
implementation 'org.hibernate.orm:hibernate-community-dialects:6.4.1.Final'
// SFTP
implementation 'com.jcraft:jsch:0.1.55'
// Utility
implementation 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// Test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
tasks.named('test') {
useJUnitPlatform()
}
// Vue3 빌드 결과물을 static 폴더로 복사
task copyFrontend(type: Copy) {
from '../frontend/dist'
into 'src/main/resources/static'
}
// 빌드 전에 frontend 복사
bootJar {
dependsOn copyFrontend
}