plugins {
    id("gradlebuild.distribution.api-java")
}

description = "Implementation of messaging between Gradle processes"

dependencies {
    api(projects.concurrent)
    api(projects.stdlibJavaExtensions)
    api(projects.serialization)
    api(projects.serviceProvider)
    api(projects.baseServices)

    api(libs.jspecify)
    api(libs.slf4jApi)

    implementation(projects.classloaders)
    implementation(projects.io)
    implementation(projects.buildOperations)

    implementation(libs.guava)
    implementation(libs.jsr305)

    testImplementation(projects.internalDistributionTesting)
    testImplementation(testFixtures(projects.serialization))
    testImplementation(testFixtures(projects.core))

    testFixturesImplementation(projects.baseServices)
    testFixturesImplementation(libs.slf4jApi)

    integTestDistributionRuntimeOnly(projects.distributionsBasics)
    integTestImplementation(projects.serviceRegistryBuilder)
    integTestImplementation(projects.toolingApi)
    integTestImplementation(testFixtures(projects.testingBase))
}

gradleModule {
    computedRuntimes {
        // Auto-generated by `:checkTargetRuntimes --fix`
        client = true
        daemon = true
        worker = true
    }
}


