package reactivecircus.flowbinding

val isCiBuild: Boolean get() = System.getenv("CI") == "true"

package reactivecircus.flowbinding

import org.gradle.api.Project

@Suppress("UnstableApiUsage")
val Project.isCiBuild: Boolean
    get() = providers.environmentVariable("CI").forUseAtConfigurationTime().orNull == "true"

Switch to ProviderFactory API for fetching environment variable and gradle properties during configuration.
Switch to ProviderFactory API for fetching environment variable and gradle properties during configuration.

ReactiveCircus/FlowBinding,ReactiveCircus/FlowBinding