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

description = "Provides high-level insights into a Gradle build (--profile)"

dependencies {
    api(projects.stdlibJavaExtensions)
    api(projects.serviceProvider)
    api(projects.time)
    api(projects.baseServices)
    api(projects.core)
    api(projects.coreApi)
    api(projects.enterpriseLogging)
    api(projects.startParameter)

    api(libs.jspecify)

    implementation(projects.logging)
    implementation(projects.loggingApi)
    implementation(projects.reportRendering)
    implementation(projects.serviceLookup)

    implementation(libs.guava)

    testImplementation(projects.internalTesting)

    integTestImplementation(libs.jsoup)

    integTestDistributionRuntimeOnly(projects.distributionsFull)
}

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

tasks.isolatedProjectsIntegTest {
    enabled = false
}
