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

description = """
    Contains StartParameter and StartParameterInternal, which are serialized
    from the client to the daemon during startup
"""

dependencies {
    api(projects.baseServices)
    api(projects.buildDiscovery)
    api(projects.buildDiscoveryImpl)
    api(projects.buildOption)
    api(projects.cli)
    api(projects.fileWatching)
    api(projects.loggingApi)
    api(projects.stdlibJavaExtensions)

    api(libs.jspecify)

    implementation(projects.logging)
    implementation(projects.inputTracking)
    implementation(projects.internalInstrumentationApi)

    implementation(libs.guava)
    implementation(libs.commonsLang)

    testImplementation(testFixtures(projects.core))
}

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

packageCycles {
    excludePatterns.add("org/gradle/**")
}
