apply plugin: ServicePlugin

dependencies {
    implementation project(":customer-service:customer-service-domain")
    implementation project(":customer-service:customer-service-restapi")
    implementation project(":customer-service:customer-service-persistence")
    implementation project(":customer-service:customer-service-credit-reservation-api")
    implementation "io.eventuate.tram.core:eventuate-tram-spring-logging"

    implementation "org.springframework.boot:spring-boot-starter-actuator"
    implementation "org.springframework.boot:spring-boot-starter-web"

    componentTestImplementation "io.eventuate.platform.testcontainer.support:eventuate-platform-testcontainer-support-service:$eventuatePlatformTestContainerSupportVersion"

    componentTestImplementation "io.eventuate.common:eventuate-common-testcontainers"
    componentTestImplementation "io.eventuate.messaging.kafka:eventuate-messaging-kafka-testcontainers"
    componentTestImplementation "io.eventuate.cdc:eventuate-cdc-testcontainers"
    componentTestImplementation "io.rest-assured:rest-assured"
    componentTestImplementation "io.eventuate.tram.core:eventuate-tram-spring-in-memory"
    componentTestImplementation "io.eventuate.tram.springwolf:eventuate-tram-springwolf-support-testing"

}


check.shouldRunAfter(":customer-service:customer-service-restapi:check")
check.shouldRunAfter(":customer-service:customer-service-persistence:check")
check.shouldRunAfter(":customer-service:customer-service-credit-reservation-api:check")
check.shouldRunAfter(":customer-service:customer-service-credit-reservation-api:check")
