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

dependencies {
    // Kafka Consumer
    implementation 'org.springframework.kafka:spring-kafka'

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

    // OpenFeign for external APIs (우리동네TV, 지니TV, SNS)
    implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'

    // Resilience4j for Circuit Breaker
    implementation "io.github.resilience4j:resilience4j-spring-boot3:${resilience4jVersion}"
    implementation "io.github.resilience4j:resilience4j-circuitbreaker:${resilience4jVersion}"

    // Jackson for JSON
    implementation 'com.fasterxml.jackson.core:jackson-databind'
}
