plugins {
    id "io.spring.dependency-management" version "1.1.7"
}





dependencyManagement {
    imports {
        mavenBom "io.micronaut:micronaut-bom:$micronautVersion"
    }
}

dependencies {
    api project (":eventuate-local-java-common")
    api project (":eventuate-local-java-events")


    api project(":eventuate-client-java-micronaut-common-events")
    api "io.eventuate.messaging.kafka:eventuate-messaging-kafka-micronaut-basic-consumer:$eventuateMessagingKafkaVersion"
    api "io.eventuate.messaging.kafka:eventuate-messaging-kafka-micronaut-consumer:$eventuateMessagingKafkaVersion"
    api "io.eventuate.messaging.kafka:eventuate-messaging-kafka-micronaut-common:$eventuateMessagingKafkaVersion"

    annotationProcessor "io.micronaut:micronaut-inject-java"
    annotationProcessor "io.micronaut:micronaut-validation"
    annotationProcessor "io.micronaut.configuration:micronaut-openapi"
    api "io.micronaut:micronaut-inject"
    api "io.micronaut:micronaut-validation"
    compileOnly "jakarta.annotation:jakarta.annotation-api:2.1.1"
    implementation "jakarta.inject:jakarta.inject-api:2.0.1"
    api "io.micronaut:micronaut-runtime"
}
tasks.withType(Test).configureEach {
    useJUnitPlatform()
}
