bootJar {
    archiveFileName = 'user-service.jar'
}

dependencies {
    // BCrypt for password hashing
    implementation 'org.springframework.security:spring-security-crypto'

    // Redis for session management
    implementation 'org.springframework.boot:spring-boot-starter-data-redis'

    // OpenFeign for external API calls (사업자번호 검증)
    implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'

    // Flyway for database migration
    implementation 'org.flywaydb:flyway-core'
    implementation 'org.flywaydb:flyway-database-postgresql'

    // H2 Database for development
    runtimeOnly 'com.h2database:h2'

    // PostgreSQL Database for production
    runtimeOnly 'org.postgresql:postgresql'
}
