mirror of
https://github.com/hwanny1128/HGZero.git
synced 2025-12-06 14:56:23 +00:00
28 lines
744 B
Groovy
28 lines
744 B
Groovy
bootJar {
|
|
archiveFileName = 'meeting.jar'
|
|
}
|
|
|
|
bootRun {
|
|
// 환경 변수를 Spring Boot 애플리케이션에 전달
|
|
environment = System.getenv()
|
|
}
|
|
|
|
// 환경변수 확인용 임시 태스크
|
|
task printEnv {
|
|
doLast {
|
|
println "=== Gradle Daemon 환경변수 ==="
|
|
println "DB_PASSWORD: " + System.getenv('DB_PASSWORD')
|
|
println "DB_HOST: " + System.getenv('DB_HOST')
|
|
println "DB_USERNAME: " + System.getenv('DB_USERNAME')
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// WebSocket
|
|
implementation 'org.springframework.boot:spring-boot-starter-websocket'
|
|
implementation 'org.springframework.boot:spring-boot-starter-reactor-netty'
|
|
|
|
// Kafka
|
|
implementation 'org.springframework.kafka:spring-kafka'
|
|
}
|