get Gradle Attributes Flow
Deprecated
Use `getBuildsFlow(models = listOf(BuildModelName.gradleAttributes))` instead. This function will be removed in the next release.
Replace with
import com.gabrielfeo.develocity.api.extension.getBuildsFlow
import com.gabrielfeo.develocity.api.model.BuildModelName
getBuildsFlow(since, sinceBuild, fromInstant, fromBuild, query, reverse,maxWaitSecs, models = listOf(BuildModelName.gradleAttributes))
Gets GradleAttributes of all builds from a given date. Queries BuildsApi.getBuilds first, the endpoint providing a timeline of builds, then maps each to BuildsApi.getGradleAttributes.
Instead of filtering builds downstream based on GradleAttributes
(e.g. using Flow.filter), prefer filtering server-side using a query
(see BuildsApi.getBuilds).
Buffering
Will request eagerly and buffer up to Int.MAX_VALUE calls.
Concurrency
Attributes are requested concurrently in coroutines started in scope. The number of concurrent requests underneath is still limited by Config.maxConcurrentRequests.
Parameters
CoroutineScope in which to create coroutines. Defaults to GlobalScope.